silent URL redirect/cloak with mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,
 
I've tried about 100 combinations and searched google over and over, but I can't find nor figure out how to do this simple task.
 
I have one webserver with sites at:
 
/home/user/public_html/  ( http://basedomain.com site points here) 
/home/user/public_html/siteA
/home/user/public_html/siteB
 
I have domain names like this:  http://domainA.com and http://domainB.com
 
I want to *silently* redirect http://domainA.com to  /home/user/public_html/siteA
and http://domainB.com to  /home/user/public_html/siteB
 
Now keep in mind the literals "domainA" is not the same as the directory name "siteA", and same for domainA/siteA.
 
I have found several ways to non-silently redirect http://domainA.com to http://basedomain/siteA, but that's not good enough.  It needs to be a silent re-direct.
 
I realize I could do this with virtual domains if I had access to httpd.conf, but I don't on this server.
 
Thanks,
-Hank

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux