Pico/.htaccess
Daniel Rudolf b77c9da29b Force Apache's MultiViews feature to be disabled
Thanks @sonst-was for reporting this. Resolves #329
2016-02-24 23:28:41 +01:00

17 lines
455 B
ApacheConf

<IfModule mod_rewrite.c>
RewriteEngine On
#May be required to access sub-directories
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L,QSA]
RewriteRule ^(config|content|content-sample|lib|vendor)/.* - [R=404,L]
<IfModule mod_env.c>
SetEnv PICO_URL_REWRITING 1
</IfModule>
</IfModule>
# Prevent file browsing
Options -Indexes -MultiViews