httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: Restricting access with both IP address and password
Date Tue, 02 Jul 2002 15:16:02 GMT
>From: Trish Hartnett []

>In my htaccess file I have :
>Order Deny,Allow
>Allow from
>Deny from All

The rules for this are quite tricky - I'd go by the docs and put the Allow *after* the Deny,

Order Deny,Allow
Deny from All
Allow from

>The strange thing is that retsicting by IP adressing only 
>works if I use
>Order Deny,Allow
>Allow from 137.43.
>Deny from All
>which allows every computer whose IP address starts with Allow from 
> see the page that I want to hide. If I use the full 
>IP address I get a 403 error when I try to access the "hidden" page.

Are you *really* sure about the IP address? Check in the apache access_log to see what it
thinks the client address is.


Owen Boyle

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message