barteka/Gekosale/master/.htaccess - Htaccess File

barteka/Gekosale/master/.htaccess

<IfModule mod_rewrite.c>
SetEnv HTTP_MOD_REWRITE On
RewriteEngine On
RewriteBase /

RewriteCond %{THE_REQUEST} ^[A-Z]{3,}s(.*)/index.php/?([^ ?]*) [NC]
RewriteRule ^ %1/%2 [R=301,L]
RewriteRule ^index.php/(.*) $1 [R=301,QSA,L]
RewriteRule ^home$ / [L,R=301]
RewriteRule ^home/$ / [L,R=301]

RewriteCond expr "! %{REQUEST_FILENAME} -strmatch '*.xml'"
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .xml$ index.php [L]

RewriteRule ^(design/_js_libs/ckeditor/kcfinder) - [L]
RewriteRule ^(.+).(d+).(css|less)$ $1.$3 [L]
RewriteRule !(.(php|jpg|jpeg|png|gif|ico|css|ppt|pdf|js|swf|flv|htm|html|txt|xml|less)$) index.php [NC,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, THE_REQUEST

Comments

Apache