You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tushar Chavan <tu...@hotmail.com> on 2010/10/18 21:09:25 UTC
[users@httpd] How to do define rewrite rule
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