So I am running Apache 2.4 on Windows Server 2008. My Virtualhost looks kinda like this:
Code: <VirtualHost *.80> ServerName www.site1.org<http://www.site1.org/> ServerAlias www2.site1.org ServerAlias server1.org ServerAlias *.site2.com ServerAlias *.site2.org ..... 15 more aliases Include z:/place/redirects.site RewriteEngine On # redirect 1 group RewriteCond %{HTTP_HOST} ^(www\.)?site2\.com\/Thing\/ [OR] RewriteCond %{HTTP_HOST} ^(www\.)?site2\.com\/thing\/ RewriteRule .* http://www.site1.org/stuff/Thingstuff.php [R=302,L] # redirect 2 group RewriteCond %{HTTP_HOST} ^(www\.)?site2\.com [OR] RewriteCond %{HTTP_HOST} ^.*\.site2\.com RewriteRule .* http://www.site1.org/fun [R=302,L] ----- six more redirect groups </VirtualHost> So here is the problem. When I have both these redirect groups in the code, redirect 2 group only works and www.site2.com/Thing<http://www.site2.com/Thing> goes to www.site1/fun.<http://www.site1/fun.> When I comment out redirect 2 group. The redirect 1 group works fine, but redirect 2 group only goes to http://www.site1.org.<http://www.site1.org./> I can't figure out what is going on here. Why can't I get both these to work at the same time? Any suggestions would be helpful. dmz