SHARE
TWEET

Untitled

a guest Aug 7th, 2011 133 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RewriteCond %{HTTP_HOST} ^(www\.)?(.*)$ [NC]
  2. RewriteCond %{DOCUMENT_ROOT}/web/%2-www/ -d
  3. RewriteCond %{REQUEST_URI} !^/web/
  4. RewriteRule (.*) /web/%2-www/$1 [QSA,DPI,L]
  5.  
  6. RewriteCond %{HTTP_HOST} ^(www\.)?([^\.]+)\.(.*)$ [NC]
  7. RewriteCond %{DOCUMENT_ROOT}/web/%3-%2/ -d
  8. RewriteCond %{REQUEST_URI} !^/web/
  9. RewriteRule (.*) /web/%3-%2/$1 [QSA,DPI]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top