Advertisement
Guest User

Untitled

a guest
Mar 24th, 2014
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. <IfModule mod_rewrite.c>
  2. SetEnv HTTP_MOD_REWRITE On
  3. RewriteEngine On
  4.  
  5. RewriteRule ^vendor(/|$) - [F,L,NC]
  6. RewriteRule silverstripe-cache(/|$) - [F,L,NC]
  7. RewriteRule composer\.(json|lock) - [F,L,NC]
  8.  
  9. RewriteCond %{REQUEST_URI} ^(.*)$
  10. RewriteCond %{REQUEST_FILENAME} !-f
  11. RewriteCond %{REQUEST_URI} !\.php$
  12. RewriteRule .* framework/main.php?url=%1 [QSA]
  13.  
  14. RewriteCond %{REQUEST_URI} ^(.*)/framework/main.php$
  15. RewriteCond %{REQUEST_FILENAME} !-f
  16. RewriteRule . %1/install.php? [R,L]
  17.  
  18. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement