X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.htaccess;h=25fcfb034ee3e1bf1149eafdfccc5b9d27803fe2;hb=c51d65238be43d61b7e6a6f9940948afea0c13fa;hp=8876e346ce70bf3ff951a5ed3e2fe682de837535;hpb=e809908f9e593b2cec11f72849caa1dae6394451;p=github%2Fshaarli%2FShaarli.git
diff --git a/.htaccess b/.htaccess
index 8876e346..25fcfb03 100644
--- a/.htaccess
+++ b/.htaccess
@@ -10,29 +10,17 @@ RewriteRule ^(.git|doxygen|vendor) - [F]
# fixes JWT token not correctly forwarded on some Apache/FastCGI setups
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
+# Alternative (if the 2 lines above don't work)
+# SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
# REST API
+# Ionos Hosting needs RewriteBase /
+# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
-
-
- = 2.4>
- Require all granted
-
-
- Allow from all
- Deny from none
-
-
-
-
- Require all granted
-
-
-
-
+
= 2.4>
Require all denied