Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_rewrite.c>
- SetEnv HTTP_MOD_REWRITE On
- RewriteEngine On
- RewriteRule ^vendor(/|$) - [F,L,NC]
- RewriteRule silverstripe-cache(/|$) - [F,L,NC]
- RewriteRule composer\.(json|lock) - [F,L,NC]
- RewriteCond %{REQUEST_URI} ^(.*)$
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_URI} !\.php$
- RewriteRule .* framework/main.php?url=%1 [QSA]
- RewriteCond %{REQUEST_URI} ^(.*)/framework/main.php$
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule . %1/install.php? [R,L]
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement