浏览代码

fixing htaccess not passing authentication

Medowar 1 月之前
父节点
当前提交
e523335153
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      .htaccess

+ 3 - 0
.htaccess

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