I want to make a rewrite that under the url www.example.com will be site example2.com/www but I want it not to change the url in browser to example2.com/www/.
So after entering in browser http://www.example.com I will see site under http://example2.com/www but in browser it still be http://www.example.com
I tried something like:
RewriteRule (.*) http://example.com/www [L]
I put this in virtualhost config of www.example.com it works but with changing url.
Is there any different way to rewrite http and https in this manner?
EDIT... I'm using LiteSpeedBalancer and www.example.com is virtualhost only to show example.com/www (So no contest is under www.example.com this domain is only to rewrite to example.com/www)
It's complicated and at first I made example with www.example.com rewriting to example2.com/www to point that those are different virtualhosts.
ServerAlias
? Or does it need to have an HTTP host header that includes thewww
?