Elephant418/Staq-HelloWorld/master/HelloWorld/public/.htaccess - Htaccess File

Elephant418/Staq-HelloWorld/master/HelloWorld/public/.htaccess

Options +FollowSymlinks
RewriteEngine On
RewriteBase /

SetEnv SESSION_USE_TRANS_SID 0

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

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^asset[a-zA-Z0-9]{10}/(.*)$ /$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php [L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache