![]() Topic awaiting preservation: Forking synonym domains with .htaccess (Page 1 of 1) |
|
|---|---|
|
Bipolar (III) Inmate From: Switzerland |
posted 01-05-2008 16:01
'lo. code: Options +FollowSymLinks -Indexes
RewriteEngine On
# Rewrite rule for mauro-colella.com
RewriteCond %{HTTP_HOST} ^www\.mauro-colella\.com
RewriteRule $(.*)^ http://www.mauro-colella.com/gateway/$1 [L]
|
|
Paranoid (IV) Inmate From: Madison, Indiana |
posted 01-05-2008 19:23
You've created an infinite loop in your rewrite rule. I think what you should do is code: Options +FollowSymLinks -Indexes
RewriteEngine On
# Rewrite rule for mauro-colella.com
RewriteCond %{HTTP_HOST} ^(www\.)?mauro-colella\.com
RewriteRule (www.)?mauro-colella.com/(.*) http://www.beyondwonderland.com/gateway/$2 [L]
|
|
Paranoid (IV) Inmate From: Florida |
posted 01-05-2008 19:30
You can use something like this, too, AFAIK: code: RewriteCond %{REQUEST_URI} !gateway |
|
Bipolar (III) Inmate From: Switzerland |
posted 01-05-2008 19:34
hypabole, chill quote:
|