DISABLE DIRECTORY LISTING OF FILES IN YOUR WEB SERVER DURING BROWSING IN APACHE WEB SERVER

index_of_direcotry

EDIT YOUR httpd.conf file.

BEFORE: Options Includes Indexes FollowSymLinks MultiViews

Then remove word Indexes and save the file. Then restart your apache web server.

AFTER: Options Includes FollowSymLinks MultiViews

IN .htaccess file if you have.

Add the following line to your .htaccess file.

Options -Indexes

Advertisements
This entry was posted in APACHE. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s