Results 1 to 3 of 3
What file do I add the DirectoryIndex directive in for my vhosts. I have tried adding it to my apache2.conf file and my sites-enabled file. Neither work. Any ideas?...
- 10-21-2005 #1Just Joined!
- Join Date
- Jul 2005
- Posts
- 84
FIXED: Apache2 Vhosts DirectoryIndex config help
What file do I add the DirectoryIndex directive in for my vhosts. I have tried adding it to my apache2.conf file and my sites-enabled file. Neither work. Any ideas?
- 10-21-2005 #2Just Joined!
- Join Date
- Oct 2005
- Posts
- 10
Add it like this:
<VirtualHost *:80>
ServerName somewhere.com
ServerAdmin webmaster at somewhere.com
DocumentRoot /var/www/cvs
DirectoryIndex index.php index.cgi
</VirtualHost>
- 10-21-2005 #3Just Joined!
- Join Date
- Jul 2005
- Posts
- 84
Got it working, just had to edit the redirect -mismatch clause in my config. Thank for the help.


Reply With Quote