19 lines
443 B
ApacheConf
19 lines
443 B
ApacheConf
Options -Indexes
|
|
DirectoryIndex index.php
|
|
AddType application/manifest+json .webmanifest
|
|
|
|
<IfModule mod_setenvif.c>
|
|
SetEnvIf Authorization "(.+)" HTTP_AUTHORIZATION=$1
|
|
</IfModule>
|
|
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
|
|
RewriteRule ^storage/ - [F,L]
|
|
RewriteRule ^(?:src|templates|bin)/ - [F,L]
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule ^ index.php [QSA,L]
|
|
</IfModule>
|