Hi, i have a problem with htacess, i have 3 domains on one hosting plan one in the root and 2 in there own dir, problem is that im running a CMS in the root which has a .htaccess which in turn is blocking off access to the other 2 sites example domain.com> which is hosted in the Root with the .htacess >domain2.com is hosted in domain.com/fun >domain3.com is hosted in domain.com/sport so what code do i need to insert to get all the domains working? please be specific as possible. hope thats clear enough to get some help! thanks
ok i found the solution if anyone is having the same problems with .htacess and multipl domains on same hosting plan just insert this code into your site and adjust the domain name and folder name which is hosting the sub sites. RewriteCond $1 !^folder1/ RewriteCond %{HTTP_HOST} ^www\.domain1\.org RewriteRule (.*) /folder1/$1 [L] # RewriteCond $1 !^folder2/ RewriteCond %{HTTP_HOST} ^www\.domain2\.com RewriteRule (.*)/folder2/$1 [L]