ASTRAPI Posted April 25, 2010 Posted April 25, 2010 (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 April 25, 2010 by ASTRAPI
Management terabyte Posted May 5, 2010 Management Posted May 5, 2010 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 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! >
Shay Posted June 19, 2010 Posted June 19, 2010 or you could create a blank index.html and place it in the folder :)
Management terabyte Posted June 21, 2010 Management Posted June 21, 2010 htaccess would cover every folder while index.html only the folders where you upload it ;) 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! >
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now