Forum Moderators: phranque
RewriteEngine On
RewriteCond %{HTTP_HOST} ^.\.domain\.tld$
RewriteRule ^(.)/$ [webmail.domain.tld...] [P]
I use it for my webmail to autofill the form with username.
At first I tried to do it with a [R,L] which also worked, but not without an addresschange.
But now I would like to know if this is the only way, my problem is that I do not know if my host will keep on allowing me to use the proxy solution and besides that I am curios if this is the only solution.
In short am I looking for the best way to access webmail.domain.tld/?name=x with x.domain.tld continuing being the address in the bar.
Regards,
Peter