friedolinfoerder/pinion/master/.htaccess
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !.(gif|jpg|png|jpeg|css|js)$ [NC]
RewriteRule ^(.*?)(/?)$ index.php?page=$1 [QSA,NC,L]
# Prevents directory listing
Options -Indexes
# PHP 5, APACHE 1 and 2
<IfModule mod_php5.c>
php_flag magic_quotes_gpc off
php_flag magic_quotes_sybase off
php_flag register_globals off
php_flag session.auto_start off
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_flag mbstring.encoding_translation off
</IfModule>
On Github License
Files
Download PDF of Htaccess file