Jump to content

Recommended Posts

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...