Gexek/core/master/.htaccess - Htaccess File

Gexek/core/master/.htaccess

RewriteEngine On
AcceptPathInfo On

AddType text/x-component .htc

RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteCond %{REQUEST_URI} !(.*).([a-zA-Z0-9]{2,4})$
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI}/ [L,R=301]

RewriteRule (.*).(jpe?g|gif|png)$ ?driver=static&path=$1.$2 [L]

RewriteRule ^(.*)/$ ? [L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME, REQUEST_URI, static

Comments

Apache