|
From: barry <sla...@i1...> - 2001-11-12 18:50:49
|
My situation is this: for beta testing my site, I want it to look like it is coming from the domain that my isp provides, but really be running on a different machine. lets assume: Isp host = www.i18n.com slash is running on ip address 192.168.1.1 (obviously not the real address) I have created a directory temp on www.i18n.com in the web space. In that directory, I have created a .htaccess file which contains: RewriteEngine on RewriteBase / # straight redirect RewriteRule ^(.*)$ http://192.168.1.1/$1 this seems to work, except it looks like I need to put "/" at the end of the url in places. I think there is some info inthe mod_rewrite documentation that I will review about that issue, but for now this looks very promising. I am still testing, but it looks like the the user sees the slash material as though it really lives at www.i18n.com/temp . HTH, Barry At 01:23 PM 11/12/2001 -0500, Computers in Medicine wrote: >We have an existing web site, call it www.foobar.org, and several >subdirectories under the domain that provide existing services. We'd like >to replace the existing home page www.foobar.org with a Slash site but keep >URLs such as www.foobar.org/service/ pointing to their existing services. <snip> |