From 1e15cabd06c47eaafea0684e527cf7d130ec70d3 Mon Sep 17 00:00:00 2001 From: Thasan Date: Fri, 30 Oct 2015 02:33:25 +0200 Subject: [PATCH] Adding support for apache 2.4 --- .htaccess | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.htaccess b/.htaccess index 1c08b55..93eba0a 100644 --- a/.htaccess +++ b/.htaccess @@ -1,11 +1,22 @@ # Allow access if Flarum is installed in a subdirectory, # but another .htaccess in a higher directory denies access. -Order Allow,Deny -Allow from all - - Deny from All - + + Require all granted + + + Require all denied + + + + Order Allow,Deny + Allow from all + + + Deny from All + + + RewriteEngine on