7 LogFormat "%h %l %u %t \"%r\" %>s %b" common
8 CustomLog access.log common
10 <IfModule !mod_log_config.c>
11 LoadModule log_config_module modules/mod_log_config.so
13 <IfModule !mod_alias.c>
14 LoadModule alias_module modules/mod_alias.so
17 LoadModule cgi_module modules/mod_cgi.so
20 LoadModule env_module modules/mod_env.so
22 <IfModule !mod_rewrite.c>
23 LoadModule rewrite_module modules/mod_rewrite.so
25 <IfModule !mod_version.c>
26 LoadModule version_module modules/mod_version.so
30 <IfModule !mod_auth.c>
31 LoadModule auth_module modules/mod_auth.so
36 <IfModule !mod_auth_basic.c>
37 LoadModule auth_basic_module modules/mod_auth_basic.so
39 <IfModule !mod_authn_file.c>
40 LoadModule authn_file_module modules/mod_authn_file.so
42 <IfModule !mod_authz_user.c>
43 LoadModule authz_user_module modules/mod_authz_user.so
45 <IfModule !mod_authz_host.c>
46 LoadModule authz_host_module modules/mod_authz_host.so
51 <IfModule !mod_authn_core.c>
52 LoadModule authn_core_module modules/mod_authn_core.so
54 <IfModule !mod_authz_core.c>
55 LoadModule authz_core_module modules/mod_authz_core.so
57 <IfModule !mod_access_compat.c>
58 LoadModule access_compat_module modules/mod_access_compat.so
63 PassEnv GIT_VALGRIND_OPTIONS
66 Alias /auth/dumb/ www/auth/dumb/
68 <LocationMatch /smart/>
69 SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
70 SetEnv GIT_HTTP_EXPORT_ALL
72 <LocationMatch /smart_noexport/>
73 SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
75 <LocationMatch /smart_custom_env/>
76 SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
77 SetEnv GIT_HTTP_EXPORT_ALL
78 SetEnv GIT_COMMITTER_NAME "Custom User"
79 SetEnv GIT_COMMITTER_EMAIL custom@example.com
81 ScriptAliasMatch /smart_*[^/]*/(.*) ${GIT_EXEC_PATH}/git-http-backend/$1
82 ScriptAlias /broken_smart/ broken-smart-http.sh/
83 <Directory ${GIT_EXEC_PATH}>
84 Options FollowSymlinks
86 <Files broken-smart-http.sh>
89 <Files ${GIT_EXEC_PATH}/git-http-backend>
94 RewriteRule ^/smart-redir-perm/(.*)$ /smart/$1 [R=301]
95 RewriteRule ^/smart-redir-temp/(.*)$ /smart/$1 [R=302]
98 LoadModule ssl_module modules/mod_ssl.so
100 SSLCertificateFile httpd.pem
101 SSLCertificateKeyFile httpd.pem
102 SSLRandomSeed startup file:/dev/urandom 512
103 SSLRandomSeed connect file:/dev/urandom 512
105 SSLMutex file:ssl_mutex
116 <LocationMatch "^/auth-push/.*/git-receive-pack$">
123 <LocationMatch "^/auth-fetch/.*/git-upload-pack$">
130 RewriteCond %{QUERY_STRING} service=git-receive-pack [OR]
131 RewriteCond %{REQUEST_URI} /git-receive-pack$
132 RewriteRule ^/half-auth-complete/ - [E=AUTHREQUIRED:yes]
134 <Location /half-auth-complete/>
136 Deny from env=AUTHREQUIRED
139 AuthName "Git Access"
146 LoadModule dav_module modules/mod_dav.so
147 LoadModule dav_fs_module modules/mod_dav_fs.so
153 <Location /auth/dumb>
159 LoadModule dav_svn_module modules/mod_dav_svn.so