SHARE
TWEET

Untitled

a guest Sep 3rd, 2011 35 Never
  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>
RAW Paste Data
Top