Skip to content

Commit

Permalink
added htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroniker committed Jan 15, 2018
1 parent 0b9d629 commit bb0da7e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .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>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</FilesMatch>

<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>

<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]
</IfModule>

0 comments on commit bb0da7e

Please sign in to comment.