I have been trying to put 2 seperate sites in subfoldres and use rewites to load them.
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.udstde\.co\.uk
RewriteCond %{HTTP_HOST} test1\.udstde\.co\.uk
RewriteRule (.*) /test1/index.php [L]
RewriteCond %{HTTP_HOST} !^www\.udstde\.co\.uk
RewriteCond %{HTTP_HOST} test2\.udstde\.co\.uk
RewriteRule (.*) /test2/index.php [L]
The problem being the first one works fine but the second one doesn't.
Can anyone see where im going wrong?