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





--- Comment #6 from rahul <[EMAIL PROTECTED]>  2008-08-14 03:13:54 PST ---
- Or rather it should be possible to use correct ProxyPassReverse by matching
it against the client request.
As of now, it is not done by apache.


ProxyPass /app1 http://webproxy.india.sun.com/tst
ProxyPassReverse /app1 http://webproxy.india.sun.com/tst

ProxyPass /app2 http://webproxy.india.sun.com/tst
ProxyPassReverse /app2 http://webproxy.india.sun.com/tst

backend server
=================================
|echo "GET /tst HTTP/1.0\n\n" | nc webproxy 80
HTTP/1.1 302 Moved Temporarily
Server: Sun-Java-System-Web-Proxy-Server/4.0.4
Date: Thu, 14 Aug 2008 09:52:21 GMT
Content-length: 0
Content-type: text/html
Location: http://webproxy.india.sun.com/tst/
Connection: close

Location => http://agneyam/app1
=================================
|echo "GET /app1 HTTP/1.0\n\n" | nc 0 8080 | more
HTTP/1.1 302 Moved Temporarily
Date: Thu, 14 Aug 2008 09:52:27 GMT
Server: Sun-Java-System-Web-Proxy-Server/4.0.4
Content-length: 0
Content-type: text/html
Location: http://agneyam/app1/
Via: 1.0 agneyam
Connection: close

Location should have been http://agneyam/app2
=================================
|echo "GET /app2 HTTP/1.0\n\n" | nc 0 8080 | more
HTTP/1.1 302 Moved Temporarily
Date: Thu, 14 Aug 2008 09:52:32 GMT
Server: Sun-Java-System-Web-Proxy-Server/4.0.4
Content-length: 0
Content-type: text/html
Location: http://agneyam/app1/
Via: 1.0 agneyam
Connection: close


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to