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