Browse files

added htaccess

  • Loading branch information...
aaroniker committed Jan 15, 2018
1 parent 0b9d629 commit bb0da7e404b94bfdf52d6a3566739048f7db9179
Showing with 24 additions and 0 deletions.
  1. +24 −0 .htaccess
@@ -0,0 +1,24 @@
<FilesMatch "((\.(lock|cache))|config.json|composer.json|package.json|bower.json|gulpfile.js|webpack.config.js)$">
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
Satisfy All
<IfModule mod_authz_core.c>
Require all denied

<IfModule mod_autoindex.c>
Options -Indexes

<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]

0 comments on commit bb0da7e

Please sign in to comment.