waja

waja / gist:9885f93fd96749b9b95d2ce38afca219

Last active 3 months ago

Like 0

waja revised this gist 10 years ago · 07f9874

1 file changed, 12 insertions

.htaccess (file created)
@@ -0,0 +1,12 @@
1 + RewriteEngine On
2 + RewriteBase /
3 +
4 + RewriteCond %{HTTP_HOST} domain10.org$ [OR]
5 + RewriteCond %{HTTP_HOST} domain11.org$
6 + RewriteCond %{REQUEST_FILENAME} !dir1/
7 + RewriteRule (.*) dir1/$1 [L]
8 +
9 + RewriteCond %{HTTP_HOST} domain20.org$ [OR]
10 + RewriteCond %{HTTP_HOST} domain21.org$
11 + RewriteCond %{REQUEST_FILENAME} !dir2/
12 + RewriteRule (.*) dir2/$1 [L]