httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject RE: [users@httpd] nested htaccess files in conjuction with allow/deny
Date Mon, 21 Jun 2004 14:42:12 GMT

On Mon, 21 Jun 2004, Matthijs van der Klip wrote:
> Without the test/.htaccess file:
>
> test.mydomain 1.2.3.4 - - [21/Jun/2004:15:27:49 +0200] "GET /
> HTTP/1.1" 403 210 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
> .NET CLR 1.1.4322)"
>
> [Mon Jun 21 15:27:49 2004] [error] [client 1.2.3.4] client denied by
> server configuration: /mnt/docs/PHP/test
>
>
> With the (127.0.0.1) test/.htaccess file:
>
> test.mydomain 1.2.3.4 - - [21/Jun/2004:15:29:28 +0200] "GET /
> HTTP/1.1" 200 7 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
> .NET CLR 1.1.4322)"
>
>
> The .htaccess file contains a single line:
>
> Allow from 127.0.0.1

Other than the fact that you obscured the most important part (the IP 
address), I don't see where the problem could be coming from.  What 
happens if you put the Allow directive in httpd.conf rather than the 
.htaccess?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message