httpd.conf multiple directories

Discussion in 'Apache' started by sicoanimal, Feb 8, 2010.

  1. #1
    I have Apache set up on my windows pc (using XAMPP) and I am trying to configure it to use multiple directories.

    I have 2 directories ("C:/xampp/htdocs" and "F:/projects") which I would like apache to serve pages from. I have tried setting up multiple <Directory> tags and using VirtualHosts but I can not get pages to load from the second directory.

    Could anyone please point me in the right direction for getting this working?

    The first directory is accessible from "http://localhost" but I can not get it to load pages stored in the second directory. I do not mind if I have to use a diferent domain or port to allow for the 2 directories.

    All help is appreciated, thanks in advance

    Sico
     
    sicoanimal, Feb 8, 2010 IP