BluegrassGardener Posted March 7, 2004 Posted March 7, 2004 I'm trying to hide our virtual directory where if someone tries to view the contents in the image folder, they will get an access denied type of page. Anyone know how to do this? Would appreciate your help....Also, fixing this to work won't affect hotlinking or anything like that will it?? Rock Sign Quote
MikeJ Posted March 7, 2004 Posted March 7, 2004 You can use "Index Manager" in your cPanel to manage this per directory. If you want to disable indexes for your entire site (since cPanel won't let you do it directly for your root web directory) put the following into your .htaccess file in your public_html directory: >Options All -Indexes Quote
TCH-Bruce Posted March 7, 2004 Posted March 7, 2004 You can also through in a blank index.html page and they will not get a directory listing. Quote
BluegrassGardener Posted March 7, 2004 Author Posted March 7, 2004 Thanks Mike....I'll give that a try. You guys are so cool!!!! Rock Sign Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.