Do not display the contents of the directory
Posted by: admin at 11 Monday 5th, 2008
If you enter the directory name to your browser's address field,index.html / index.php / index.cgi
if youindex.html / index.php / index.cgi
the subject, how to avoid them and still see the file list.
Google in theindex of
If you search, you'll get to what分RI.
httpd.conf
and fixes. httpd.conf
is usually located below. /usr/local/apache2/conf
/usr/local/etc/apache2
httpd.conf
Options Indexes FollowSymLinks
Indexes
remove Options FollowSymLinks
Whenever you finish a fix,
Apache
restart. # /usr/local/apache2/bin/apachectl restart
apachectl
will pass through if you do not know how to install different versions and looks in the following way. # which apachectl
Filed under Web server (Apache2) |