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? |
#httpd -D DUMP_VHOSTS
to check whether your virtual hosts are detected properly and that your config is ok |
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. |