5 LogFormat "%h %l %u %t \"%r\" %>s %b" common
6 CustomLog access.log common
8 <IfModule !mod_log_config.c>
9 LoadModule log_config_module modules/mod_log_config.so
11 <IfModule !mod_alias.c>
12 LoadModule alias_module modules/mod_alias.so
15 LoadModule cgi_module modules/mod_cgi.so
18 LoadModule env_module modules/mod_env.so
20 <IfModule !mod_rewrite.c>
21 LoadModule rewrite_module modules/mod_rewrite.so
23 <IfModule !mod_version.c>
24 LoadModule version_module modules/mod_version.so
28 <IfModule !mod_auth.c>
29 LoadModule auth_module modules/mod_auth.so
34 <IfModule !mod_auth_basic.c>
35 LoadModule auth_basic_module modules/mod_auth_basic.so
37 <IfModule !mod_authn_file.c>
38 LoadModule authn_file_module modules/mod_authn_file.so
40 <IfModule !mod_authz_user.c>
41 LoadModule authz_user_module modules/mod_authz_user.so
43 <IfModule !mod_authz_host.c>
44 LoadModule authz_host_module modules/mod_authz_host.so
49 PassEnv GIT_VALGRIND_OPTIONS
52 Alias /auth/dumb/ www/auth/dumb/
54 <LocationMatch /smart/>
55 SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
56 SetEnv GIT_HTTP_EXPORT_ALL
58 <LocationMatch /smart_noexport/>
59 SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
61 <LocationMatch /smart_custom_env/>
62 SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
63 SetEnv GIT_HTTP_EXPORT_ALL
64 SetEnv GIT_COMMITTER_NAME "Custom User"
65 SetEnv GIT_COMMITTER_EMAIL custom@example.com
67 <LocationMatch /smart_namespace/>
68 SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
69 SetEnv GIT_HTTP_EXPORT_ALL
70 SetEnv GIT_NAMESPACE ns
72 ScriptAliasMatch /smart_*[^/]*/(.*) ${GIT_EXEC_PATH}/git-http-backend/$1
73 ScriptAlias /broken_smart/ broken-smart-http.sh/
74 <Directory ${GIT_EXEC_PATH}>
75 Options FollowSymlinks
77 <Files broken-smart-http.sh>
80 <Files ${GIT_EXEC_PATH}/git-http-backend>
85 RewriteRule ^/smart-redir-perm/(.*)$ /smart/$1 [R=301]
86 RewriteRule ^/smart-redir-temp/(.*)$ /smart/$1 [R=302]
89 LoadModule ssl_module modules/mod_ssl.so
91 SSLCertificateFile httpd.pem
92 SSLCertificateKeyFile httpd.pem
93 SSLRandomSeed startup file:/dev/urandom 512
94 SSLRandomSeed connect file:/dev/urandom 512
96 SSLMutex file:ssl_mutex
107 <LocationMatch "^/auth-push/.*/git-receive-pack$">
114 <LocationMatch "^/auth-fetch/.*/git-upload-pack$">
121 RewriteCond %{QUERY_STRING} service=git-receive-pack [OR]
122 RewriteCond %{REQUEST_URI} /git-receive-pack$
123 RewriteRule ^/half-auth-complete/ - [E=AUTHREQUIRED:yes]
125 <Location /half-auth-complete/>
127 Deny from env=AUTHREQUIRED
130 AuthName "Git Access"
137 LoadModule dav_module modules/mod_dav.so
138 LoadModule dav_fs_module modules/mod_dav_fs.so
144 <Location /auth/dumb>
150 LoadModule dav_svn_module modules/mod_dav_svn.so