httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthijs van der Klip <matth...@spill.nl>
Subject RE: [users@httpd] nested htaccess files in conjuction with allow/deny
Date Mon, 21 Jun 2004 13:33:43 GMT
On Mon, 21 Jun 2004, Joshua Slive wrote:
> You don't happen to be using mac osx with their http accellerator?

Nope. RedHat 8.0 with Apache 1.3.31 plus PHP 4.3.7.


> Show us the contents of the access and error log for a relevant request,
> along with the LogFormat in use from httpd.conf.

Log definitions:

LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" 
\"%{User-Agent}i\"" vcombined
ErrorLog /mnt/logs/apache/test/error_log
CustomLog /mnt/logs/apache/test/access_log vcombined


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


Best regards,

-- 
Matthijs van der Klip
System Administrator
Spill E-Projects
The Netherlands




---------------------------------------------------------------------
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