swape/swape-php-api/master/.htaccess - Htaccess File

swape/swape-php-api/master/.htaccess

<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE application/json
</ifModule>

RewriteEngine On
RewriteRule ^(index.php|robots.txt|favicon.ico|css|images|js) - [PT,L]
RewriteCond %{REQUEST_FILENAME} !(.png|.swf|.js|.gif|.jpe?g|.css)
RewriteRule ^(.*)$ index.php/$1 [QSA]

On Github License

Files

Download PDF of Htaccess file
DEFLATE, REQUEST_FILENAME

Comments

Apache