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]
 
 
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]
 
 
Could you help me?
Thanks
 
Marco

Reply via email to