X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.htaccess;h=25fcfb034ee3e1bf1149eafdfccc5b9d27803fe2;hb=refs%2Ftags%2Fv0.12.0;hp=8876e346ce70bf3ff951a5ed3e2fe682de837535;hpb=0d930454a2892715e691f9c7713e26a3bb4ee96c;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