2015-05-25 11:51:18 +00:00
|
|
|
<IfModule mod_rewrite.c>
|
|
|
|
RewriteEngine On
|
2016-04-24 02:06:40 +00:00
|
|
|
# May be required to access sub directories
|
2015-05-25 11:51:18 +00:00
|
|
|
#RewriteBase /
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
2015-08-28 16:37:36 +00:00
|
|
|
RewriteRule ^(.*)$ index.php?$1 [L,QSA]
|
2016-04-27 19:02:20 +00:00
|
|
|
RewriteRule ^(\.git|config|content|content-sample|lib|vendor)(/.*)?$ index.php?$0 [L,QSA]
|
2016-04-29 16:02:19 +00:00
|
|
|
RewriteRule ^(CHANGELOG\.md|composer\.(json|lock)) index.php?404 [L]
|
2015-08-28 16:37:36 +00:00
|
|
|
|
|
|
|
<IfModule mod_env.c>
|
|
|
|
SetEnv PICO_URL_REWRITING 1
|
|
|
|
</IfModule>
|
2012-04-04 13:45:09 +00:00
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
# Prevent file browsing
|
2016-02-24 22:27:35 +00:00
|
|
|
Options -Indexes -MultiViews
|