Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 3rd, 2011  |  syntax: None  |  size: 0.47 KB  |  views: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteBase /
  4. RewriteCond %{REQUEST_FILENAME} !-f
  5. RewriteCond %{REQUEST_FILENAME} !-d
  6. RewriteRule ^(?:(?!website).).*\.(?:(?!php).)+$ cms/website/$0 [L]
  7.  
  8. RewriteCond %{REQUEST_FILENAME} !-f
  9. RewriteCond %{REQUEST_FILENAME} !-d
  10. RewriteCond %{REQUEST_URI}  .*
  11. RewriteCond %{QUERY_STRING} .* [NC]
  12. RewriteRule .*\.php cms/index.php?request=$0&%{QUERY_STRING} [L]
  13. RewriteRule ^[^./]*(\/[^./]*)*$ cms/index.php?dirs=$0 [L]
  14. </IfModule>
clone this paste RAW Paste Data