I am trying to make it so that whatever domain accesses the server is redirected to a folder of the same name.
Domain1.com goes to /domain1.com/
Mysite.com goes to /mysite.com/
www.GeorgeJetsen.org goes to /www.georgejetson.org/
would the below work...
RewriteEngine on
RewriteCond %{HTTP_HOST}
RewriteCond %{REQUEST_URI} !^/%{HTTP_HOST}/
RewriteRule ^(.*) {HTTP_HOST}/$1 [L]
I would, of course, turn RewriteEngine OFF in the individual folders.