Re: [us...@httpd] RewriteRule : How to retain Apache Host in the url

2010-11-12 Thread Green Wang
you can use mod_proxy On 11/01/2010 03:54 PM, Tushar Chavan wrote: Hi Experts, We have definded rewrite rule as below RewriteEngine on RewriteRule ^/(sap\(.*) http://srmhost.kjo.com.sa:8000/$1 So now whenever url

Re: [us...@httpd] RewriteRule : How to retain Apache Host in the url

2010-11-12 Thread Sai A
More specifically, look at the ProxyPass and ProxyPassReverse directives that are present in mod_proxy. There is another directive called PreserveProxyHost that you'll have to set to on and the URL won't change in the address bar (HTTP header). Sai On Fri, Nov 12, 2010 at 3:20 PM, Green Wang

Re: [us...@httpd] RewriteRule : How to retain Apache Host in the url

2010-11-12 Thread Tom Evans
On Fri, Nov 12, 2010 at 10:16 AM, Sai A arialwi...@gmail.com wrote: More specifically, look at the ProxyPass and ProxyPassReverse directives that are present in mod_proxy. There is another directive called PreserveProxyHost that you'll have to set to on and the URL won't change in the address

Re: [us...@httpd] RewriteRule : How to retain Apache Host in the url

2010-11-12 Thread Sai A
Tom, Thanks for that correction. I got a little confused. On Fri, Nov 12, 2010 at 4:01 PM, Tom Evans tevans...@googlemail.com wrote: On Fri, Nov 12, 2010 at 10:16 AM, Sai A arialwi...@gmail.com wrote: More specifically, look at the ProxyPass and ProxyPassReverse directives that are present

RE: [us...@httpd] RewriteRule : How to retain Apache Host in the url

2010-11-03 Thread Tushar Chavan
Thanks a ton Igor. P flag worked.. Date: Tue, 2 Nov 2010 18:07:26 +1100 From: icici...@gmail.com To: users@httpd.apache.org Subject: Re: [us...@httpd] RewriteRule : How to retain Apache Host in the url Have you tried using the P flag in the RewriteRule? Cheers, Igor On Tue, Nov 2, 2010

Re: [us...@httpd] RewriteRule : How to retain Apache Host in the url

2010-11-02 Thread Igor Cicimov
if there is way to do it. Best Regards, Tushar Date: Mon, 1 Nov 2010 08:06:39 -0400 From: cove...@gmail.com To: users@httpd.apache.org Subject: Re: [us...@httpd] RewriteRule : How to retain Apache Host in the url On Mon, Nov 1, 2010 at 3:54 AM, Tushar Chavan tushar.cha...@hotmail.com

[us...@httpd] RewriteRule : How to retain Apache Host in the url

2010-11-01 Thread Tushar Chavan
Hi Experts, We have definded rewrite rule as below RewriteEngine on RewriteRule ^/(sap\(.*) http://srmhost.kjo.com.sa:8000/$1 So now whenever url https://apache_host.domain/sap(bD1lbiZjPTAxNiZkPW1pbg==)/bc/bsp/sap/z_ros_self_reg1/main.htm is called, it will re-direct to

Re: [us...@httpd] RewriteRule : How to retain Apache Host in the url

2010-11-01 Thread Eric Covener
On Mon, Nov 1, 2010 at 3:54 AM, Tushar Chavan tushar.cha...@hotmail.com wrote: Hi Experts, We have definded rewrite rule as below RewriteEngine on RewriteRule ^/(sap\(.*) http://srmhost.kjo.com.sa:8000/$1 So now whenever url

RE: [us...@httpd] RewriteRule : How to retain Apache Host in the url

2010-11-01 Thread Tushar Chavan
, Tushar Date: Mon, 1 Nov 2010 08:06:39 -0400 From: cove...@gmail.com To: users@httpd.apache.org Subject: Re: [us...@httpd] RewriteRule : How to retain Apache Host in the url On Mon, Nov 1, 2010 at 3:54 AM, Tushar Chavan tushar.cha...@hotmail.com wrote: Hi Experts, We have definded