Browse Source

fixing htaccess not passing authentication

Medowar 1 month ago
parent
commit
e523335153
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .htaccess

+ 3 - 0
.htaccess

@@ -2,6 +2,9 @@ Options -Indexes
 DirectoryIndex index.php
 DirectoryIndex index.php
 AddDefaultCharset UTF-8
 AddDefaultCharset UTF-8
 
 
+# Pass Authorization header to PHP
+CGIPassAuth On
+
 <IfModule mod_rewrite.c>
 <IfModule mod_rewrite.c>
     RewriteEngine On
     RewriteEngine On
     RewriteRule (^|/)\. - [F,L]
     RewriteRule (^|/)\. - [F,L]