idtstudios2
Programmer
My host does not allow multiple domain hosting. However, they do allow for unlimitted domain parking. I have been succesfully using the following htaccess in my root folder to get around the lack of multiple domains for several months. Then about a week ago I needed to use htacces for one of my *rigged* domains. I was not able to get htaccess to work properly on any of the domains in the root htaccess.
The problems seemed to appear only when I wanted to do something like rewrite:
links/34424
links.php?id=blahblahblah
Could someone please take a look at the htaccess below and see if i'm missing something?
Thanks in advance
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} site1.com
RewriteCond %{REQUEST_URI} !site1/
RewriteRule ^(.*)$ site1/$1 [L]
RewriteCond %{HTTP_HOST} site2.com
RewriteCond %{REQUEST_URI} !site2/
RewriteRule ^(.*)$ site2/$1 [L]
The problems seemed to appear only when I wanted to do something like rewrite:
links/34424
links.php?id=blahblahblah
Could someone please take a look at the htaccess below and see if i'm missing something?
Thanks in advance
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} site1.com
RewriteCond %{REQUEST_URI} !site1/
RewriteRule ^(.*)$ site1/$1 [L]
RewriteCond %{HTTP_HOST} site2.com
RewriteCond %{REQUEST_URI} !site2/
RewriteRule ^(.*)$ site2/$1 [L]