Forum Moderators: open

Message Too Old, No Replies

ISAPI rewrite 301

redirecting from one sote to another

         

richiwatts

10:57 am on Nov 27, 2007 (gmt 0)

10+ Year Member



I am trying to fade out a co.uk site and only want to use our .com

I have been told to use an httpd.ini file and place it in the wwwroot folder. I have been trying to look around but can't find out what needs to be in this .ini file.

Basicallly I want people coming in to any page on my .co.uk site to be forwarded to .com/index.html

How would I create an httpd.ini file to handle this?

Rich

mrMister

4:36 pm on Nov 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



[ISAPI_Rewrite]
RewriteCond Host: (?!www.example.com).*
RewriteRule (.*) http\://www.example.com$1 [I,RP]