DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23295>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23295 Escape probleme in mod_rewrite [P] action... Summary: Escape probleme in mod_rewrite [P] action... Product: Apache httpd-2.0 Version: 2.0.47 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: mod_rewrite AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] In my frontend apache, I use a .htaccess like this one: ------------------------------------------------ RewriteEngine on RewriteRule (.*) http://backend/somedir/$1 [P] ------------------------------------------------ but for certain request like this one: http://frontend/the%20url/pic.jpg I got a 404 error "http://frontend/the" not found (because frontend don't escape the request before asking the backend... I don't know if the fix should be added to mod_rewrite or to mod_proxy... but I fix like this: /usr/local/src/httpd-2.0.47/modules/mappers # diff mod_rewrite.c.dist mod_rewrite.c 2165a2166 > r->filename = ap_escape_uri(r->pool, r->filename); Regards, Benoit DEVIJVER (perhaps is there a way to do it in the .htaccess, but I didn't find...) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
