[users@httpd] ProxyPassReverse Issue in Apache 2.2.3/CentOS, but works in Apache 2.2.14/Ubuntu [only directory redirect issue]

2012-02-13 Thread Hridayesh Gupta
I have the following rule in conf file at server.com RewriteEngine On RewriteRule /source(.*) http://example.com/target$1 [P] ProxyRequests Off ProxyPassReverse /source http://example.com/target http://example.com/target/a.php redirects to http://example.com/target/b.php

Re: [users@httpd] ProxyPassReverse Issue in Apache 2.2.3/CentOS, but works in Apache 2.2.14/Ubuntu [only directory redirect issue]

2012-02-13 Thread Tom Evans
On Mon, Feb 13, 2012 at 11:35 AM, Hridayesh Gupta hridayeshi...@gmail.com wrote: I have the following rule in conf file at server.com RewriteEngine On RewriteRule /source(.*) http://example.com/target$1 [P] ProxyRequests Off ProxyPassReverse /source http://example.com/target

Re: [users@httpd] ProxyPassReverse Issue in Apache 2.2.3/CentOS, but works in Apache 2.2.14/Ubuntu [only directory redirect issue]

2012-02-13 Thread Hridayesh Gupta
Thanks for the reply. Actually my requirement is more complex and it needs dynamic proxying based on mapping from mysql db. Thats why I used RewriteRule and RewriteMap. One silly thing was not working so i tried this simple config to test the problem. Based on ProxyPassReverse rules I have

Re: [users@httpd] ProxyPassReverse Issue in Apache 2.2.3/CentOS, but works in Apache 2.2.14/Ubuntu [only directory redirect issue]

2012-02-13 Thread Hridayesh Gupta
It is not working only in Apache 2.2.4/CentOS. It is working in Apache 2.2.14/Ubuntu Just wanted to know if its bug or problem in my config. If its bug, how can I know. On Mon, Feb 13, 2012 at 9:46 PM, Hridayesh Gupta hridayeshi...@gmail.comwrote: Thanks for the reply. Actually my requirement