X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=.htaccess;h=2348cdc38b36ca4eed776ae762eee7d2c8edf660;hb=a85470b172c26408c061116f82c5fbd0085ee0ae;hp=a2c3c89147ffb6d2a4c13586f7f7d52f0a7c3367;hpb=e80d5a7f23143d10ff6043a00fc06f36e239e9ef;p=friendica.git
diff --git a/.htaccess b/.htaccess
index a2c3c89147..2348cdc38b 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,5 @@ 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]
-