William McKee wrote:

On Sat, Sep 04, 2004 at 12:56:26PM -0700, Ben Hopkins wrote:


I got FORBIDDEN errors until I put my IP addr (I'm working on a remote server). Then I got 404s.



The directives look similar to mine. Is there no message in the Apache
error logs that gives you a hint of what's wrong with your system?


Here's the error log entries:
[Mon Sep 6 15:21:44 2004] [error] [client 4.42.113.186] File does not exist: /usr/local/apache/htdocs/server-status
[Mon Sep 6 15:22:03 2004] [error] [client 4.42.113.186] File does not exist: /usr/local/apache/htdocs/server-info


and the access log:
4.42.113.186 - - [06/Sep/2004:15:21:44 -0700] "GET /server-status HTTP/1.1" 404 284
4.42.113.186 - - [06/Sep/2004:15:22:03 -0700] "GET /server-info HTTP/1.1" 404 282


Notice that the client IP is the same as the one allowed in the httpd.conf snippet in the previous post.

I thought I had it solved when I realized that the PerlHandler for <Location /> was doing this:

unless (-e $f->finfo) {
   return NOT_FOUND
}

and I changed NOT_FOUND to DECLINED.

But that didn't work.

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to