LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   VirtualHost (https://www.linuxquestions.org/questions/linux-networking-3/virtualhost-196187/)

amdathlonboy 06-21-2004 08:25 PM

VirtualHost
 
Hi there,

I just set up a virtual host that I thought worked.

Except, even though I have an index file in my one directory it still comes up as forbidden. Is it because it's linked to a users home directory? Is there something else I have to do?

ppuru 06-21-2004 10:29 PM

#httpd -D DUMP_VHOSTS

to check whether your virtual hosts are detected properly and that your config is ok

Gnuru 06-22-2004 05:23 AM

Yes, it could be because the virtual host is linked to a user's home directory. Make sure the home directory is readable by the httpd user which may be www-data, nobody or http depending on your distro.

Also make sure you've properly set up permissions in httpd.conf to allow yourself access to the directory.


All times are GMT -5. The time now is 12:00 PM.