httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jirka Vejrazka <jirka.vejra...@gmail.com>
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message