Apache Virtual Host redirects to directory listing even though config is same as Vhosts that work
All other Vhosts are working correctly.
Code:
<VirtualHost *:80> |
That usually means there’s no index.htm(l) in the DocumentRoot
What’s in the DocumentRoot? |
There was only 1 file but it was an index.html file. All I added to make it work was:
Code:
DirectoryIndex index.html |
What is the value of DirectoryIndex in the main httpd.conf?
That directive has to be set somewhere. On my server it's set globally. If your question is solved, you can mark it so with the Thread Tools. |
In the main httpd.conf:
Code:
<IfModule dir_module> |
^^Hmmm. Strange. That should be all you needed, unless there's some other place dealing with
directives of /var/www/html/site.name.com |
All times are GMT -5. The time now is 12:43 PM. |