Skip to content

Commit ee2e708

Browse files
author
Sebastian Michaelsen
committed
Include example .htaccess file for applications
1 parent cb2b4ac commit ee2e708

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

_.htaccess.example

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
RewriteEngine On
2+
RewriteBase /
3+
4+
<FilesMatch "\.(htaccess|htpasswd|ini|log|sh|inc|bak|sql)$">
5+
Order Allow,Deny
6+
Deny from all
7+
</FilesMatch>
8+
9+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
10+
11+
RewriteCond %{REQUEST_FILENAME} !-f
12+
RewriteRule .? index.php [L]

0 commit comments

Comments
 (0)