httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tushar Chavan <tushar.cha...@hotmail.com>
Subject [users@httpd] How to do define rewrite rule
Date Mon, 18 Oct 2010 19:09:25 GMT

Hi Experts,
Below is the our scenario.
http://srmdevarp01.domain.com/sap(bD1lbiZjPTI1OCZkPW1pbiZ3PTIzNTgyODAr)/bc/bsp/ccm/cat_cdc/container.htm?sap-client=258&sap-language=en
 should rewrite to  url 
srmdev.domain.com/sap(bD1lbiZjPTI1OCZkPW1pbiZ3PTIzNTgyODAr)/bc/bsp/ccm/cat_cdc/container.htm?sap-client=258&sap-language=en

I am thinking of below rewrite rule
RewriteRule ^/(sap\(.*) http://srmdevarp01.domain.com/sap$1 P,L

Please correct me if I am wrong.
Best Regards,Tushar 		 	   		  
Mime
View raw message