DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28410>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28410 Alias expansion conflicts with METHOD=POST Summary: Alias expansion conflicts with METHOD=POST Product: Apache httpd-2.0 Version: 2.0.49 Platform: All OS/Version: FreeBSD Status: NEW Severity: Minor Priority: Other Component: mod_alias AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Hi, I've found this bug while porting my application (http://rrfw.sf.net) from mod_perl 1.0 to 2.0. I believe this is not a mod_perl bug. The RRFW login form is like follows: <FORM CLASS="LoginForm" METHOD="POST" ACTION="/rrfw"> Apache configuration was: Alias /rrfw "/usr/local/rrfw-0.1/web" PerlRequire "/usr/local/rrfw-0.1/share/rrfw/webmux2.pl" <Location /rrfw> SetHandler modperl PerlResponseHandler RRFW::Apache2Handler </Location> <Location /rrfw/plain/> SetHandler default-handler Options None </Location> After accessing "http://192.168.49.128/rrfw" with the browser (both IE6 and Mozilla), the URL is shown as "http://192.168.49.128/rrfw/" (slash at the end), and after entering login and password I got the following output of "print STDERR $r->as_string();" in my Perl handler: ========== GET /rrfw/ HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms- excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave- flash, */* Referer: http://192.168.49.128/rrfw/ Accept-Language: en Cookie: SESSION_ID=e7138d6c1b717528572ea1379a0dcc07 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) Host: 192.168.49.128 Connection: Keep-Alive Cache-Control: no-cache HTTP/1.1 (null) =========== For some strange reason, the POST request was presented as GET, without the form arguments. The workaround was to change the Alias to Alias /rrfw/plain "/usr/local/rrfw-0.1/web/plain" Under Apache 1.3 it worked fine with either of the two Aliases. Regards, Stanislav --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
