Htaccess File

SinoBoeckmann/triAuarCMS/master/.htaccess

HTTP_HOST, REQUEST_FILENAME
#Start Rewrite Engine
RewriteEngine on
RewriteBase /

#Remove Traling Slash
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{HTTP_HOST} !^.localhost$ [NC]
RewriteRule ^(.+[^/])/$ http://%{HTTP_HOST}/$1 [R=301,L]

#Forward all to index.php
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* index.php [L]

#PHP Session as Cookie
php_value session.use_cookies           true
php_value session.use_only_cookies      true
Exit mobile version