You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Nikolay Mijaylov <nm...@nmmm.nu> on 2000/03/15 15:45:36 UTC
mod_actions/5884: Error document redirection for "actions" like PHP or similar languages
>Number: 5884
>Category: mod_actions
>Synopsis: Error document redirection for "actions" like PHP or similar languages
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: change-request
>Submitter-Id: apache
>Arrival-Date: Wed Mar 15 06:50:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: nmmm@nmmm.nu
>Release: 1.3.12
>Organization:
apache
>Environment:
Linux 2.2.13 (Slackware 7)
egcs 2.91.66
>Description:
We use custom error document 404
We use PHP3, PHP4 and HTSH (experimental PHP like program), configured
as CGI with mod_action (*.php,*.php4,*.htm,*.htsh and many more)
1. When you request non existing document, it works (*.txt for example)
2. When you request non existing document that are configured for mod_action it run action interpretator and do not show any error.
the second (2) repeat , if we remove error document...
We have similar configuration on fisicaly diferent server,
but with Apache 1.3.9 (config files are almost the same, except paths),
and it works fine.
>How-To-Repeat:
http://www.asfa.net/any_broken_url.php <- PHP3
http://www.asfa.net/any_broken_url.php4 <- PHP4
http://www.asfa.net/any_broken_url.htm <- we use PHP3 over html
http://www.asfa.net/any_broken_url.htsh <- this is PHP-like preprocessor
http://www.asfa.net/any_broken_url.any <- this is not PHP and will work
>Fix:
mod_actions?
>Release-Note:
>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! ]