X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=.htaccess;h=2348cdc38b36ca4eed776ae762eee7d2c8edf660;hb=b1999459afe1f955e7373f4b4894b44324b10e1e;hp=8c8a8861c466824316310e6a7cf25823bfd37a62;hpb=2ca9d011fe2118293a53b0fda068b3ec27d34c4a;p=friendica.git
diff --git a/.htaccess b/.htaccess
index 8c8a8861c4..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,9 +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]