I am having trouble getting a second site to resolve. Unfortunately neither site is resolving now. Here is where I'm at.
In my httpd.conf
DocumentRoot "c:/wamp/www/"
NameVirtualHost *:80
<VirtualHost *>
ServerName site1.com
DocumentRoot /www/site1
<Directory "/www/site1">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *>
ServerName site2.com
DocumentRoot /www/site2
<Directory "/www/site2">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost
In my root .htaccess i have something like this
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.site2\.com$
RewriteCond %{REQUEST_URI} !^/www/site2/
RewriteRule (.*) /www/site2/$1
RewriteCond %{HTTP_HOST} ^www\.site1\.com$
RewriteCond %{REQUEST_URI} !^/www/site1/
RewriteRule (.*) /www/site1/$1
In each site directories .htaccess I have this
RewriteEngine On
RewriteOptions Inherit
Where am I going wrong? Also does the "live_site": declaration in configuration.php affect this?
>