.htaccess for specific referring domain?
I have a domain name that is already registered. Let’s call it myDomain.com for all intents and purposes. This domain runs Windows, and I can’t change that, so I set up sub1.myDomain.com as a Linux server on the same host. This is now a separate RedHat system, and on this system I am running a webcart, ZenCart to be specific.
I also have another application running from the /htdocs/support/ folder on the sub1. subdomain.
Then, I created a pointer (again, on the same host) to go from sub2.myDomain.com to go to sub1.myDomain.com.
This all works.
Now, I would like to have an .htaccess rule, at the root of the sub1. htdocs directory, that takes those users that are forwarded from sub2.myDomain.com to sub1.myDomain.com and take them to sub1.myDomain.com/support/
The reason I cannot put an .htaccess file at the root of myDomain.com is that it is a Windows server, just to reiterate.
thanks for reading, and thanks in advance as well,
-Tim
Related Entries:
Addon Domain issue, http:// vs www.
Additional Nameservers
How do I setup hosting on one WHM server and send/receive mail on a second WHM server
Document root & cPanel
okay i got a nameserver, what to do next?
Rapid Site Deployment (database driven DNS + Apache config)


Save to Browser Favorites
Ask
backflip
blinklist
BlogBookmark
Bloglines
BlogMarks
Blogsvine
BUMPzee!
CiteULike
co.mments
Connotea
del.icio.us
DotNetKicks
Digg
diigo
dropjack.com
dzone
Facebook
Fark
Faves
Feed Me Links
Friendsite
folkd.com
Furl
Google
Hugg
Jeqq
Kaboodle
kirtsy
linkaGoGo
LinksMarker
Ma.gnolia
Mister Wong
Mixx
MySpace
MyWeb
Netvouz
Newsvine
PlugIM
popcurrent
Propeller
Reddit
Rojo
Segnalo
Shoutwire
Simpy
Slashdot
Sphere
Sphinn
Spurl.net
Squidoo
StumbleUpon
Technorati
ThisNext
Webride
Windows Live
Yahoo!
Email This to a Friend
If you like this then please subscribe to the
