FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


to show "403 Forbidden" Directories





alem
I get 403 Forbidden error when viewing directories in my account.
I have to show my directories to someone for a short time.(I have a software bug and he wants to see my related directory if there is a wrong thing during installation or something else)
How can I do that? and can I do it for a specific directory?

Edit: No need to see the directory, directly files can be downloaded. Thanks anyway...
Animal
Upload a file called ".htaccess" (if you do not already have one) and add the following line:

Code:
Options indexes


This will only work if you do not have an index.html (or .htm / .php etc) in the directory.

Hope this helps.
turbosquid
I have found on a few setups where :-

Code:
Options Indexes


has not worked, not sure why i guess it's just down to different server setups and software versions, if you experience any problems try this :-

Code:
Options +Indexes


it has worked for me in the past.

Also Depending on your httpd.conf / apache2.conf settings you can disable listing of directory's using :-

Code:
Options -Indexes


Htaccess is great!


TurboSquid
Related topics
.htaccess tutorial
403 Forbidden Error
403 Forbidden verwijderen
403 Forbidden
403 on URLs that end with "cp"
WP (blog) xmlrpc.php gives a "403 forbidden", no m
403 forbidden? Please help.
403 forbidden
Homegrown GFX (!!MODS PLEASE LOCK! OLD THREAD!!)
Forbidden?
403 Forbidden
My Blog: 403 Forbidden
403 Forbidden
403 Forbidden
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.