DirectoryIndex not getting used for stats

Discussion in 'Installation/Configuration' started by bolero, May 8, 2009.

  1. bolero

    bolero New Member

    I have another weird problem on the VM with the webalizer problem, the Apache DirectoryIndex isn't honored for the stats directory.

    /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf:
    DirectoryIndex homepage.htm index.php index.html

    httpd restarted, but:
    [Fri May 08 15:08:47 2009] [error] [client n.n.n.n] Directory index forbidden by Options directive: /var/www/web1/web/stats/

    e.g. it behaves like there is no index.html page in this directory, but there is.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Can you post the vhost configuration?
    Is there an .htaccess file in /var/www/web1/web/? If so, what's in it?
     
  3. bolero

    bolero New Member

    Oh, yeah, thanks. The client had put a "DirectoryIndex index.php" in the root directory for no good reason. Have a sunny day.
     

Share This Page