Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
    
WOYAR: Work On Your Accept Rate! meta.stackexchange.com/questions/5234/… –  GregD Dec 27 '10 at 16:59
add comment

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.

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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