Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 83546 invoked from network); 4 Apr 2006 20:46:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Apr 2006 20:46:34 -0000 Received: (qmail 31516 invoked by uid 500); 4 Apr 2006 20:46:33 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 31486 invoked by uid 500); 4 Apr 2006 20:46:32 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 31473 invoked by uid 99); 4 Apr 2006 20:46:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2006 13:46:32 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2006 13:46:31 -0700 Received: by ajax.apache.org (Postfix, from userid 65534) id 7D0A4D49FF; Tue, 4 Apr 2006 21:46:10 +0100 (BST) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 39206] New: - mod_proxy_balancer does not treat trailing slash like Proxypass directive Message-ID: X-Bugzilla-Reason: AssignedTo Date: Tue, 4 Apr 2006 21:46:10 +0100 (BST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=39206 Summary: mod_proxy_balancer does not treat trailing slash like Proxypass directive Product: Apache httpd-2 Version: 2.2.0 Platform: Other OS/Version: Linux Status: NEW Keywords: ErrorMessage Severity: normal Priority: P2 Component: mod_proxy_balancer AssignedTo: bugs@httpd.apache.org ReportedBy: cwang@kenwoodusa.com Running httpd-2.2.0-1 on CentOS 4.3 (rebuilt source rpm package). Found a bug with mod_proxy_balancer module where it does not treat a URL the same as mod_proxy module would. Using Apache as a reverse proxy with mod_proxy module passing this directive to a single backend server works just fine: ProxyPass /KenwoodAccess/ http://172.20.111.33:80/KenwoodAccess/ This next example is a WORKING configuration for mod_proxy_balancer. No errors are generated in Apache and passes to the backend servers: ProxyPass /KenwoodAccess balancer://KWA_cluster lbmethod=byrequests stickysession=JSESSIONID nofailover=off BalancerMember http://172.20.111.33:80/KenwoodAccess smax=15 loadfactor=1 BalancerMember http://172.20.111.34:80/KenwoodAccess smax=15 loadfactor=1 #BalancerMember http://test.kenwoodaccess.com/noworkers.html smax=15 loadfactor=80 Where the bug happens: ProxyPass /KenwoodAccess/ balancer://KWA_cluster lbmethod=byrequests *NOTE: The trailing slash in the first option. This will generate an error message in Apache logs: [Mon Apr 03 17:04:55 2006] [warn] proxy: No protocol handler was valid for the URL /site/images/buts/forgotpassword.gif. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. This error message seems to be misleading when passing options using the trailing slash. How I am interpreting it is mod_proxy_balancer doesn't want to call on other mod_proxy submodules properly. Googling shows that people resolved this Apache error message by adding 'LoadModule' for the submodules of mod_proxy (ie: mod_proxy_connect, mod_proxy_http, etc.). This is not the case with me, since Apache shows these submodules as loaded: httpd -M proxy_module (shared) proxy_connect_module (shared) proxy_ftp_module (shared) proxy_http_module (shared) proxy_ajp_module (shared) proxy_balancer_module (shared) This has been troubleshooted down to trailing slashes as the culprit for mod_proxy_balancer and mod_proxy Proxypass directive works just fine with trailing slashes. -- 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: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org