Forum Moderators: phranque

Message Too Old, No Replies

Error 403: Forbidden! on a directory

it used to work

         

lethal0r

10:38 pm on Jun 9, 2006 (gmt 0)

10+ Year Member



I can longer get into a directory on my web server when i password protect it. I have tried setting a new .htaccess and .htpasswd several times to no avail - 403 error each time.

I upload the .htaccess and .htpasswd in ascii. Im on a static IP and my hosting is shared so i was wondering perhaps if my IP could be blocked for logging in? I have a .htaccess in my root folder with the following line -
AddType x-mapp-php5 .php
- which tells my server to use php 5 and not php 4. The apache version is 1.3.33.

Presuming my htaccess and htpasswd are uploaded correctly and contain the right info, what possible problems could there be?

Thanks in advance

Tom

jdMorgan

11:01 pm on Jun 9, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check the file permissions on that directory using FTP. If this were an HTTP-related problem (invalid login), you'd be getting a 401-Unauthorized error, not a 403.

Jim

lethal0r

9:46 am on Jun 10, 2006 (gmt 0)

10+ Year Member



ah thats great, u helped me sort it :) turns out it was actually letting me in, but has directory browsing off and there is no index page.

Thanks

Tom