Hi,
I have a problem with apache2 and rewrite module. VirtualHost for site www.domain1.com
... RewriteCond %{HTTP_HOST} !^www\.domain1\.com [NC] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/(.*) http://www.domain1.com/$1 [L,R] TEST OK. http://domain1.com --> http://www.domain1.com
When I make the virtual host for site www.domain2.com
I have problems. VirtualHost for site www.domain2.com
... RewriteCond %{HTTP_HOST} !^www\.domain2\.com [NC] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/(.*) http://www.domain2.com/$1 [L,R] TEST PROBLEM: http://domain2.com --> http://www.domain1.com
Could you help me?
Thanks Marco
|