-1

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

1

1 Answer 1

1
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.

1
  • 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, 2010 at 16:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .