* htaccess options to work with apache

This commit is contained in:
Dávid Danyi 2018-04-20 10:56:39 +02:00
parent 8b28a73ed8
commit 2a08e41d74

View File

@ -17,3 +17,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>