Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Rewrite the root, temporarily.

By: a guest on Mar 5th, 2012  |  syntax: None  |  size: 0.20 KB  |  views: 32  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. RewriteEngine On
  2.  
  3. # Ignore the following directories/files:
  4. RewriteRule ^(css|javascript|Old\ site)(/|$) - [L]
  5.  
  6. # Rewrite /Site/ to /
  7. RewriteCond %{REQUEST_URI} !^/Site/
  8. RewriteRule (.*) /Site/$1 [L]