Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to disable directory browsing? (apache)
#1
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.
Reply
#2
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
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

About SL Talkz

"One world One commmunity"

SL Talkz is a general discussion community
where you can participate in active discussions,
make new friends and great place to receive help.

Quick jump

Desinged by

SL Talkz Dev