Pico/.htaccess
2015-08-28 18:37:36 +02:00

16 lines
368 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]
<IfModule mod_env.c>
SetEnv PICO_URL_REWRITING 1
</IfModule>
</IfModule>
# Prevent file browsing
Options -Indexes