PDA

View Full Version : Forbidden


babbsmill
02-17-2008, 05:05 PM
I get this message when the directory is empty or there is no index.html file, however I would like to enable the server to display the content of chosen directory ie the filenames within it.
HOW CAN I DO THIS?

Forbidden
You don't have permission to access /folder/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Regards
JL

Jeremy
02-19-2008, 06:08 PM
.htaccess

google around for Index

babbsmill
03-03-2008, 12:19 PM
I have included the "Options +Indexes" in the .htaccess file of the subdirectory I want to be visible but still no change still get the same Forbidden message. Any Ideas? Anyone

Jeremy
03-04-2008, 06:21 PM
can you kinda draw out the structure for me?

ie for me...

/usr/home/UN/www/site.com/somedir/.htaccess

/usr/home is on my FreeBSD box.

so anything in somedir and beyond would be controlled by that .htaccess.

babbsmill
03-05-2008, 02:26 AM
Have now found the problem ... directory permissions set incorrectly now all working as I want...

Thanks for your help jeremy

Jeremy
03-09-2008, 11:39 PM
What was the chmod on the dir? im guessing the public flag wasn't viewable.
Good stuff anyways.

Cheers.