I need to rewrite https://mydomain1.com/chanagepassword to https://mydomain2.com/ssp

then hide the url mydomain2.com/cp in browser and show https://mydomain1.com/chanagepassword.

I got the first part working with the rule:

Options +FollowSymLinks
RewriteEngine on
RewriteRule /changepassword https://mydomain2.com/ssp/ [R=301,L]

However it shows https://mydomain2.com/ssp url on browser. How can I mask this and show https://mydomain1.com/chanagepassword

link|improve this question

30% accept rate
WOYAR: Work On Your Accept Rate! meta.stackoverflow.com/questions/5234/… – GregD Dec 27 '10 at 16:59
feedback

1 Answer

SSLProxyEngine on
SSLProxyCheckPeerCN on
SSLProxyCheckExpire on
ProxyPass /changepassword https://mydomain2.com/ssp
ProxyPassReverse /changepassword https://mydomain2.com/ssp

"Please support" is a rude phrase on a free site, please check your English translator. "Please help" is better.

link|improve this answer
I am sorry about my language. But I meant it in a polite way. I need this to be done using Mod_Rewrite not with Mod_proxy. – user37143 Dec 29 '10 at 16:04
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.