Mod_rewrite Mask URL
Posted
by
user37143
on Server Fault
See other posts from Server Fault
or by user37143
Published on 2010-12-27T15:24:39Z
Indexed on
2010/12/27
15:55 UTC
Read the original article
Hit count: 234
Hi,
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
Please support.
Thanks.
© Server Fault or respective owner