From: <no...@so...> - 2001-05-29 23:30:03
|
Patches item #428502, was updated on 2001-05-29 16:30 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=304421&aid=428502&group_id=4421 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Kevin Tam (glorat) Assigned to: Nobody/Anonymous (nobody) Summary: Localise PerlAccessHandler Initial Comment: PerlAccessHandler Slash::Apache::User performs modifications on the Apache->request object that appears to render it unusable for mod_perl scripts outside Slash that use mod_perl and CGI. Specifically, CGI.pm will not handle POST requests if the request passses through that handler. My workaround for this was to make sure the handler is only used for Slash's scripts and the change is as simple as <Location ~ "^/(([^/]*)\.pl)?$"> PerlAccessHandler Slash::Apache::User PerlLogHandler Slash::Apache::Log </Location> I also move the LogHandler in the config so that Slash doesn't log requests to my other scripts (but it will miss logs to Slash's .html .shtml etc. files). However, crucially, my other mod_perl app runs with Slash quite happily now that the PerlAccessHandler isn't in the way. Here is the diff for bin/install-slashsite if it helps --- install-slashsite Wed May 9 19:02:34 2001 +++ install-slashsite-patch Tue May 29 22:14:39 2001 @@ -377,7 +377,9 @@ SlashVirtualUser $opts{'u'} + <Location ~ "^/(([^/]*)\.pl)?$"> PerlAccessHandler Slash::Apache::User + </Location> PerlLogHandler Slash::Apache::Log # this directive will redirect non-logged-in users to ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=304421&aid=428502&group_id=4421 |