httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jirka Vejrazka <>
Subject Re: [users@httpd] disable DirectoryIndex
Date Wed, 04 May 2005 10:37:39 GMT
> >Is there a better way than
> >
> >DirectoryIndex a-highly-improbable-filename.extension

  Just disable mod_dir (comment out if dynamic, otherwise ./configure
--disable ... & recompile).

  Make sure to comment out all DirectoryIndex directives too and run
"apachectl configtest" before attempting to restart the Apache to
apply new configuration.

  You'll lose all "display directory contents" functionality.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message