Forum Moderators: coopster

Message Too Old, No Replies

Urgent htaccess help!

         

FiRe

12:21 pm on Feb 20, 2008 (gmt 0)

10+ Year Member



I have set up site.com and basically all pages need to be read from blah.com using htaccess, i.e:

http://www.example.com/about.php

Will load the page from

[example2.com...]

NOT redirect it!

This is what I have got but does not work, any ideas?

RewriteEngine On
RewriteRule ^(.*) http://www.example.com/$1 [P]

[edited by: dreamcatcher at 2:17 pm (utc) on Feb. 20, 2008]
[edit reason] Use example.com, thanks. [/edit]

mehh

12:28 pm on Feb 20, 2008 (gmt 0)

10+ Year Member



Try in the Apache Forum [webmasterworld.com]

coopster

12:39 pm on Feb 20, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Discussion continues there ...
[webmasterworld.com...]