I am trying to move the rewrites below from an .htaccess file to httpd.conf and I am running into a problem with the rewrites not workin at all. When I place these in the .conf it is as if they don't fire..
===================================
Options +FollowSymLinks
RewriteEngine On
# .com, .net, .org, etc. catch all for adding www.
RewriteCond %{HTTP_HOST} ^([^\.]+\.(com|org|eu|com\.au|net|cc|nl|info|us|biz|co.\uk))$ [NC]
RewriteRule ^(.*)$ http://www.%1/$1 [R=301,QSA,L]
# SUB DOMAIN REWRITES
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP_HOST} !^(www\.mydomain1\.com)?$ [NC]
RewriteCond %{HTTP_HOST} !^(www\.mydomain2\.com)?$ [NC]
RewriteCond %{HTTP_HOST} ^([^\.]+)\.guildlaunch\.com/?$ [NC]
RewriteRule ^(.*)$ /guild/$1?sub_domain=%1 [QSA,L]
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{HTTP_HOST} !^(www\.mydomain1\.com)?$ [NC]
RewriteCond %{HTTP_HOST} !^(www\.mydomain2\.com)?$ [NC]
RewriteCond %{HTTP_HOST} ^([^\.]+)\.guildlaunch\.com$ [NC]
RewriteRule ^index.php$ /guild/index.php?sub_domain=%1 [QSA,L]
# FULL DOMAIN REWRITES
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP_HOST} !^(www\.mydomain1\.com)?$ [NC]
RewriteCond %{HTTP_HOST} !^(www\.mydomain2\.com)?$ [NC]
RewriteCond %{HTTP_HOST} ^(.*)\.([^\.]+\.(com|org|eu|com\.au|net|cc|info|us|biz|nl|co.\uk))$ [NC]
RewriteRule ^(.*)$ /guild/$1?full_domain=%2&mrw=1 [QSA,L]
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{HTTP_HOST} !^(www\.mydomain1\.com)?$ [NC]
RewriteCond %{HTTP_HOST} !^(www\.mydomain2\.com)?$ [NC]
RewriteCond %{HTTP_HOST} ^(.*)\.([^\.]+\.(com|org|eu|com\.au|net|cc|info|us|biz|nl|co.\uk))$ [NC]
RewriteRule ^index.php$ /guild/index.php?full_domain=%2&mrw=2 [QSA,L]
===============================
Can anyone tell me why the redirects aren't running in the .conf file? I appreciate the input.
-Stephen