www.site1.com
www.site2.com
both sites point to the same files, what I have to do is create blocks of different rules for the two sites, but, should I always do
- Code: Select all
RewriteCond %{HTTP_HOST} .site1...
RewriteRule
RewriteCond %{HTTP_HOST} ..site1..
RewriteRule
RewriteCond %{HTTP_HOST} ..site1..
RewriteRule
RewriteCond %{HTTP_HOST} ..site2..
RewriteRule
RewriteCond %{HTTP_HOST} ..site2..
RewriteRule
Or is it possible to create BLOCKS of RewriteCond or any other solution?