X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=.htaccess;h=a671cc680aff06f63aa301add63c8cc59c34ad33;hb=ec49d004e32d873dfb67e93e733c27602255d8ee;hp=d2aaa4e131ef6d901443ed94959e26e232257397;hpb=545e4f645e274af0e29a7e70159f0750b7ef8b30;p=friendica.git
diff --git a/.htaccess b/.htaccess
index d2aaa4e131..a671cc680a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -4,7 +4,14 @@ AddType audio/ogg .oga
#AddHandler php53-cgi .php
-Deny from all
+
+ #Apache 2.4
+ Require all denied
+
+
+ #Apache 2.2
+ Deny from all
+
@@ -30,10 +37,4 @@ Deny from all
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?pagename=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
- # If you want to restrict access to your Friendica site to HTTPS only,
- # uncommment the following lines
- #RewriteCond %{HTTPS} !=on
- #RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
-
-