svlt/back/master/.htaccess
# Enable rewrite engine and route requests to front controller
RewriteEngine On
Header set Access-Control-Allow-Origin "*"
# RewriteBase /
RewriteCond %{REQUEST_URI} app/(controller|dict|helper|model|view)
RewriteRule app/(controller|dict|helper|model|view) - [R=404]
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L,QSA]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
On Github License
Files
Download PDF of Htaccess file