SL Talkz
How to disable directory browsing? (apache) - Printable Version

+- SL Talkz (http://sltalkz.info)
+-- Forum: Tech (http://sltalkz.info/forumdisplay.php?fid=13)
+--- Forum: Tutorials (http://sltalkz.info/forumdisplay.php?fid=14)
+--- Thread: How to disable directory browsing? (apache) (/showthread.php?tid=14)



How to disable directory browsing? (apache) - yaka - 03-09-2017

This is a method to prevent directory browsing in apache. It can be your root or a sub directory.

Let's assume this you have a folder Downloads that wants to disable access from web browser.

you have to create the .htaccess file with the following in the directory you want to disable access.

Code:
Options -Indexes

simple as it is.


RE: How to disable directory browsing? (apache) - Winters - 09-16-2017

Get Your Existing .htaccess File, If Any. Connect to your website using an FTP or SFTP software. ... Make a Backup of the .htaccess File. ... Create or Open the .htaccess File. ...
Disable Indexing. ...
Saving and Uploading the File. ...
Test Your Site. Feel free to surf college paper writing service


RE: How to disable directory browsing? (apache) - Mac777 - 03-02-2018

Excellent suggestions found here. Thanks for suggestion.









BMS College of Engineering Admission
PES university direct admission