Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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?

  2. #2
    Add it like this:

    <VirtualHost *:80>
    ServerAdmin webmaster at
    DocumentRoot /var/www/cvs
    DirectoryIndex index.php index.cgi

  3. #3
    Got it working, just had to edit the redirect -mismatch clause in my config. Thank for the help.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts