Merge branch 'jc/maint-fbsd-sh-ifs-workaround'
[gitweb.git] / t / lib-httpd / apache.conf
index 49d5d877ceeeba3738b0939f14d059c2a75ff3ae..fe76e84b74472a431eef59a1f4936cfc69367003 100644 (file)
@@ -99,6 +99,13 @@ SSLEngine On
        Require valid-user
 </LocationMatch>
 
+<LocationMatch "^/auth-fetch/.*/git-upload-pack$">
+       AuthType Basic
+       AuthName "git-auth"
+       AuthUserFile passwd
+       Require valid-user
+</LocationMatch>
+
 <IfDefine DAV>
        LoadModule dav_module modules/mod_dav.so
        LoadModule dav_fs_module modules/mod_dav_fs.so