Jump to content

Recommended Posts

Posted (edited)

Hello

 

When someone add in the browser this:

 

http://www.myserver.com/install/

 

Display:

 

http://i39.tinypic.com/mvg4mt.png

 

And in some other folders also...

 

So i know that i can remove this folder but not the other folders so how can i protect them from such actions?

 

Thank you

Edited by ASTRAPI
  • 2 weeks later...
  • Management
Posted

Create an .htaccess file in your root directory (normally public_html or htpdocs) and insert this code inside it:

Options All -Indexes

 

Or if you already have an htaccess file just add this code somewhere in it :thumbsup:

Board Rules - Available Products - Need a Custom Work?

 

< Don't PM me for support, post in the forum or submit a ticket from the client area instead! >

  • 1 month later...
Posted
or you could create a blank index.html and place it in the folder :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.