}
function gwvpmini_AskForBasicAuth()\r
-{\r
- header('WWW-Authenticate: Basic realm="GIT Repo"');\r
- header('HTTP/1.1 401 Unauthorized');\r
+{
+ error_log("SEND BASIC AUTH");
+ header_remove("Pragma");
+ header_remove("Cache-Control");\r
+ header_remove("Set-Cookie");
+ header_remove("Expires");\r
+ header_remove("X-Powered-By");\r
+ header_remove("Vary");\r
+
+ header('HTTP/1.1 401 Unauthorized');
+ header('WWW-Authenticate: Basic realm="GITRepo"');\r
}\r