| Posted: 04 August 2010 at 11:07am | IP Logged
|
|
|
I am trying to rewrite the following:
RewriteCond %{HTTP:Host} ^www\.domain1\.com\/volunteer/?$
RewriteRule (.*) http\://volunteer.domain2.com/ [NC,L,R=301]
I have another rule that is a catchall rule as follows:
RewriteCond %{HTTP:Host} ^www\.domain1\.com$
RewriteRule (.*) http\://www\.domain2\.com/fair/home.aspx [NC,L,R=301]
The problem that I am having is everything gets rewritten based on the second rule and not the first. What am I doing wrong. Thank you for your assistance.
Tim
Edited by timsw - 04 August 2010 at 11:08am
|