You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jerrad Pierce <be...@mit.edu> on 1999/07/30 00:22:45 UTC

general/4795: warns handler not-found when it is

>Number:         4795
>Category:       general
>Synopsis:       warns handler not-found when it is
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jul 29 15:30:02 PDT 1999
>Last-Modified:
>Originator:     belg4mit@mit.edu
>Organization:
apache
>Release:        1.3.6
>Environment:
Linux dirty-bastard.pthbb.org 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 i586 unkn
own

Server version: Apache/1.3.6 (Unix)  (Red Hat/Linux)
Server built:   Apr  7 1999 17:17:41

with max DSO
>Description:
Okay, so in my srm.conf I have:
AddHandler log-viewer     .log
...
Action log-viewer     /cgi-bin/logview?

The ? seems to be necessary so that the file is passed as the query string.

But apache puts:

[Thu Jul 29 17:32:37 1999] [warn] [client 140.239.17.249] handler "log-viewer" not found for: /home/httpd/logs//error.log

Into the error.log

Probably because it's first checking to see if a file named "logview?" exists?

I know the handler is found because I get its output
(logview is just a sh script to do a tail -n25 on the file)
>How-To-Repeat:
see full desc.
>Fix:
helas, no
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]