httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "t s" <keinbiervorv...@gmail.com>
Subject Re: [users@httpd] odd/spurious error_log entries with ScriptAlias and Location directives
Date Fri, 11 Jan 2008 19:27:10 GMT
no, there are no 403 in the access log. the two lines I quoted (one
for error_log, one for access_log) is all that is logged for an access
to the scriptaliased location. there is no indication at the client
that something may be wrong, the client sees the expected result.

access_log: 127.0.0.1 - - [10/Jan/2008:12:20:18 -0700] "GET
/testme/foo HTTP/1.1" 200 29
error_log: [Thu Jan 10 12:20:18 2008] [error] [client 127.0.0.1]
client denied by server configuration: /usr/local/apache2/htdocs/foo

note also that GET /testme/foo gives error related to
<SERVERROOT>/htdocs/foo even though there is no such file and no such
access

testme.pl is a simple hello script

> cat cgi-bin/testme.pl
#!/usr/bin/perl
print "Content-Type: text/html\r\n\r\n";
print "<html> <h1>hello</h1></html>\n";

We have verified this problem on apache 2.0.61, and 2.2.6 on various
linux machines and more or less exhaustively customized apache
installations. I boiled it down to the simple example in the original
post, which should be easily reproducible for anyone willing to look
at it.

The error appears to be harmless but for clogging the log and wasting cycles.
T.

On Jan 11, 2008 7:50 AM, Krist van Besien <krist.vanbesien@gmail.com> wrote:
> On Jan 11, 2008 12:48 AM, t s <keinbiervorvier@gmail.com> wrote:
>
> > Why is this error_log entry generated for each request to the script
> > defined in ScriptAlias?
>
> What does the access log say? There ought to be requests with status
> code 403 somewhere in there.
>
> Krist
>
> --
> krist.vanbesien@gmail.com
> krist@vanbesien.org
> Bremgarten b. Bern, Switzerland
> --
> A: It reverses the normal flow of conversation.
> Q: What's wrong with top-posting?
> A: Top-posting.
> Q: What's the biggest scourge on plain text email discussions?
>
> ---------------------------------------------------------------------
> 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
>
>

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