FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a 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
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

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