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=41614>. 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=41614 Summary: Certain types of encoding generate proxy errors Product: Apache httpd-2 Version: 2.2.3 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: mod_proxy_balancer AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] We have Apache 2.2.3 using mod_proxy_balancer to send requests to a mongrel backend cluster for rails apps. We have some mod rewrite in effect that help sort what goes to the balancer and what gets served directly by apache. When sending requests to the balancer for the rails app, sometimes Apache reports : ---- Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /articles/show/127129-Global Conference? test? test. Reason: Error reading from remote server ----- "/articles/show/127129-Global Conference? test? test" is the actual URL. The portion beyond 127129 is the title of the article. Mod_rewrite reports that it sends to the balancer this: "articles/show/127129-Global Conference" with args = "test? test" The actual encoding looks like this: http://server/articles/show/127129-Global+Conference%3f%20test%3ftest Note here that the rails app only needs the portion up to 127129, the rest is appended to the URL for search engine optimization purposes - so links on Web pages contain a URL similar to the one above. Seems as though somewhere along the line mod_proxy_balancer doesn't like the encoding. We can connect directly to the mongrel server using Lynx and pass the URL and get a correct response. But going through Apache and the balancer we get the error cited above. What we found in trying to debug this is that if the space char (%20) is removed then the balancer will return the requested content (since the rails app doesn't care much about what other chars are beyond the number in the URL). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
