pedra/makephar/master/www/.htaccess
AddDefaultCharset utf-8
AddCharset utf-8 .html .css .js .xml .json .rss .atom
AddType application/x-httpd-php .phar
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
RewriteRule "(^|/)." - [F]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
</IfModule>
On Github License
Files