kor3k/dictionary/master/web/prod.htaccess
Header set X-UA-Compatible "IE=Edge,chrome=1"
# mod_headers can't match by content-type, but we don't want to send this header on *everything*...
<FilesMatch ".(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svg|svgz|ttf|vcf|webm|webp|woff|xml|xpi)$">
Header unset X-UA-Compatible
</FilesMatch>
Options -Indexes
RewriteEngine On
#workaround for php running as fcgi to set PHP_AUTH_PW and PHP_AUTH_USER for http basic auth
RewriteCond %{HTTP:Authorization} ^(.+)$
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^/?$ /index [QSA,L,R=302]
RewriteCond $1 !^web/
RewriteCond %{DOCUMENT_ROOT}/web/$1 -f [OR]
RewriteCond %{DOCUMENT_ROOT}/web/$1 -d
RewriteRule ^(.*)$ web/%1/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /web/index.php [QSA,L]
On Github License
Files
Download PDF of Htaccess file