* sane defaults

This commit is contained in:
Dávid Danyi
2017-07-31 16:10:31 +02:00
parent 05f45e5153
commit 7e0c672a75
2 changed files with 29 additions and 3 deletions

View File

@@ -15,3 +15,10 @@ RewriteRule ^.*$ - [NC,L]
RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$
RewriteRule ^(.*) - [E=BASE:%1]
RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]
<Limit GET POST PUT DELETE HEAD OPTIONS>
Require all granted
</Limit>
<LimitExcept GET POST PUT DELETE HEAD OPTIONS>
Require all denied
</LimitExcept>