IMHO, no. Mod Rewrite generally focuses on aspects of URL Rewriting,
what you are trying to achieve is mask the actual URL of the location
where you are redirecting visitors to you site.Insert the following
lines in your conf
ServerName sub.main.com
RewriteEngine On
Rewrit
Hi,
I am a newbie to mod_rewrite and I just wanted to know the rewrite rule
for my problem.
I have a server say `main.com' and i am redirecting all requests to the
subdomain `sub.main.com' to an external server `ext.org'
I want to hide the `ext.org' name from the users and just show say
`sub.main.c