Forum Moderators: phranque

Message Too Old, No Replies

Developer access htaccess problem

         

cid_gs

11:17 pm on Mar 31, 2010 (gmt 0)

10+ Year Member



I get a 403 forbidden even if my public ip maches in the allow from

to different versions both fail

1>
## DEVELOPER ACCESS
order deny, allow
deny from all
allow from xx.xx.xx.xx
Allow from w3.org


2> I added a box on this one on some forgotten reason that sounded good. but does not work ether.
## DEVELOPER ACCESS
<Location />
order deny, allow
deny from all
allow from xx.xx.xx.xx
Allow from w3.org
</Location>

jdMorgan

3:26 pm on Apr 1, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can get 403s for many reasons. Check your server error log to find the specific reason you are getting this error. For example, if you are requested "directory" URLs and do not have Options Indexes set, then your requests will be denied.

There are many other settings that can cause this to fail as well. .htaccess files in lower-level directories may be overriding this setting in your server config file. You may have "Satisfy all" set and not realize it.

So since the above code is trivial and appears to be "correct enough" to work, look for these other reasons that access may be denied.

Jim

cid_gs

5:43 am on Apr 2, 2010 (gmt 0)

10+ Year Member



Thanks for the help, all fixed :D

it was not in the order deny stuff . it was IndexOptions.