>Number: 4807 >Category: general >Synopsis: Action, SetHandler, and Location interaction. Trying to mimic >SetHandler server-info with a different handler. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun Aug 1 13:20:00 PDT 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.3 and 1.3.6 >Environment: RH 5.2, apache rpm Linux view 2.0.36 #1 Tue Oct 13 22:17:11 EDT 1998 i486 unknown >Description: I am trying to mimic the following behavior:
<Location /server-status> SetHandler server-status </Location> with my own handler, lets call it server-uptime. As far as I can tell (based on the documentation), I think the config should look like this: Action server-uptime /cgi-bin/uptime.cgi <Location /server-uptime> SetHandler server-uptime </Location> Shouldn't that work? Unfortunately, I have not been able to get this working UNLESS I actually have a file called "server-uptime" in the DocumentRoot. Even so, I still get the error "Handler "server-uptime" not found. My questions are: 1) Why does the file "server-uptime" have to exist when "server-status" in the first example doesn't have to? 2) Why do I get the "handler not found" message in my error log? Any info/help would be appreciated. Thanks, Pete >How-To-Repeat: http://www.kazmier.com/server-uptime >Fix: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> 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! ]