|
|
@ -1,11 +1,22 @@
|
|
|
|
# Allow access if Flarum is installed in a subdirectory,
|
|
|
|
# Allow access if Flarum is installed in a subdirectory,
|
|
|
|
# but another .htaccess in a higher directory denies access.
|
|
|
|
# but another .htaccess in a higher directory denies access.
|
|
|
|
Order Allow,Deny
|
|
|
|
|
|
|
|
Allow from all
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Files flarum/*>
|
|
|
|
<IfModule mod_authz_host.c>
|
|
|
|
Deny from All
|
|
|
|
Require all granted
|
|
|
|
</Files>
|
|
|
|
|
|
|
|
|
|
|
|
<Files flarum/*>
|
|
|
|
|
|
|
|
Require all denied
|
|
|
|
|
|
|
|
</Files>
|
|
|
|
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
<IfModule !mod_authz_host.c>
|
|
|
|
|
|
|
|
Order Allow,Deny
|
|
|
|
|
|
|
|
Allow from all
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Files flarum/*>
|
|
|
|
|
|
|
|
Deny from All
|
|
|
|
|
|
|
|
</Files>
|
|
|
|
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<IfModule mod_rewrite.c>
|
|
|
|
<IfModule mod_rewrite.c>
|
|
|
|
RewriteEngine on
|
|
|
|
RewriteEngine on
|
|
|
|