Skip to content
Snippets Groups Projects
Commit 352f239f authored by root's avatar root
Browse files

Final update

parent 83782bca
Branches aaron_dev
No related tags found
2 merge requests!3Aaron dev,!2Aaron dev
tmp
robpress.tar.gz
*.log
# Enable rewrite engine and route requests to framework
RewriteEngine On
RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
RewriteRule ^(.*)$ - [E=BASE:%1]
RewriteCond %{REQUEST_URI} \.ini$
RewriteRule \.ini$ - [R=404]
<FilesMatch "\.(ini|cfg|csv|bak|swp|swo|log|sql|sh|json|gitignore)$">
RewriteRule .* - [R=404,L]
</FilesMatch>
RewriteCond %{REQUEST_FILENAME} setup\.php$
RewriteRule .* - [R=404,L]
RewriteCond %{REQUEST_FILENAME} functions\.php$
RewriteRule .* - [R=404,L]
RewriteCond %{REQUEST_FILENAME} bootstrap\.php$
RewriteRule .* - [R=404,L]
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* %{ENV:BASE}/index.php [L,QSA]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment