You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Mark Peterson <xm...@yahoo.com> on 2003/10/30 17:13:06 UTC

URL help

I need to be able to have users hit URL:siteABC.co.com
and get redirected to URL:siteXYZ.co.com but not
change the URL that the users sees.  ABC and XYZ are
two boxes on the same domain.
Is this possible?

Thanks, -Mark

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

Re: URL help

Posted by Nigel Hamilton <ni...@turbo10.com>.
HI Mark,

	Check out mod_rewrite ... you can create a rewrite rule to forward 
the request to the server you want.

	You can set this up to do load balancing round-robin style with 
RewriteMap too.

	For example:

ProxyPassReverse / http://siteABC.co.com

ReWriteEngine On

RewriteCond ^/(.*) http://siteXYZ.co.com/$1 [P]


NIge


-- 
Nigel Hamilton
Turbo10 Metasearch Engine

email:	nigel@turbo10.com
tel:	+44 (0) 207 987 5460
fax:	+44 (0) 207 987 5468
________________________________________________________________________________
http://turbo10.com		Search Deeper. Browse Faster.