You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/08/06 08:25:48 UTC

DO NOT REPLY [Bug 49715] New: ProxyPassMatch Url Encoder Problem

https://issues.apache.org/bugzilla/show_bug.cgi?id=49715

           Summary: ProxyPassMatch Url Encoder Problem
           Product: Apache httpd-2
           Version: 2.2.15
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_ajp
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jangomes@gmail.com


There is a issue on ProxyPassMatch url encoder.

ProxyPassMatch ^/profile/(.+)$ ajp://localhost:8009/app-web/profile.do?login=$1

Tomcat log:
[06/Aug/2010:02:43:24 -0300] "GET /app-web/profile.do%3Flogin=username

Should be /app-web/profile.do?login=username

-- 
/*
* Atenciosamente/ Regards/ Saludos, 
* Jan Souza
*/

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 49715] ProxyPassMatch Url Encoder Problem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49715

Jan Souza <ja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jangomes@gmail.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 49715] ProxyPassMatch Url Encoder Problem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49715

--- Comment #1 from Pieter Bos <pi...@nedap.com> 2010-09-07 10:58:04 EDT ---
The same problem exists with ProxyPassReverse. We only experience this problem
with the following configuration lines:

   SSLEngine On

   ProxyPass         / http://nvc1576:9000/
   ProxyPassReverse  / http://nvc1576:9000/

   ProxyPreserveHost On

Our server is a tomcat server as well. The problem is that in a redirect,
Tomcat sends a Location header with the original hostname:

Location http://example.com/test?parameter=3

Then Apache changes this into:

Location https://example.com/test%3Fparameter%313

This bug dissappears when you turn either the SSLEngine or the
ProxyPreserveHost off. We need it to be on for our configuration.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 49715] ProxyPassMatch Url Encoder Problem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49715

Pieter Bos <pi...@nedap.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pieter.bos@nedap.com
           Severity|normal                      |major

--- Comment #2 from Pieter Bos <pi...@nedap.com> 2010-09-07 11:00:15 EDT ---
The same problem exists with ProxyPassReverse. We only experience this problem
with the following configuration lines:

   SSLEngine On

   ProxyPass         / http://nvc1576:9000/
   ProxyPassReverse  / http://nvc1576:9000/

   ProxyPreserveHost On

Our server is a tomcat server as well. The problem is that in a redirect,
Tomcat sends a Location header with the original hostname:

Location http://example.com/test?parameter=3

Then Apache changes this into:

Location https://example.com/test%3Fparameter%313

This bug dissappears when you turn either the SSLEngine or the
ProxyPreserveHost off. We need it to be on for our configuration.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org