1 ServerName dummy
2 LockFile accept.lock
3 PidFile httpd.pid
4 DocumentRoot www
5 LogFormat "%h %l %u %t \"%r\" %>s %b" common
6 CustomLog access.log common
7 ErrorLog error.log
8 <IfModule !mod_log_config.c>
9 LoadModule log_config_module modules/mod_log_config.so
10 </IfModule>
11 <IfModule !mod_alias.c>
12 LoadModule alias_module modules/mod_alias.so
13 </IfModule>
14 <IfModule !mod_cgi.c>
15 LoadModule cgi_module modules/mod_cgi.so
16 </IfModule>
17 <IfModule !mod_env.c>
18 LoadModule env_module modules/mod_env.so
19 </IfModule>
21 Alias /dumb/ www/
23 <Location /smart/>
24 SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
25 SetEnv GIT_HTTP_EXPORT_ALL
26 </Location>
27 <Location /smart_noexport/>
28 SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
29 </Location>
30 ScriptAlias /smart/ ${GIT_EXEC_PATH}/git-http-backend/
31 ScriptAlias /smart_noexport/ ${GIT_EXEC_PATH}/git-http-backend/
32 <Directory ${GIT_EXEC_PATH}>
33 Options None
34 </Directory>
35 <Files ${GIT_EXEC_PATH}/git-http-backend>
36 Options ExecCGI
37 </Files>
39 <IfDefine SSL>
40 LoadModule ssl_module modules/mod_ssl.so
42 SSLCertificateFile httpd.pem
43 SSLCertificateKeyFile httpd.pem
44 SSLRandomSeed startup file:/dev/urandom 512
45 SSLRandomSeed connect file:/dev/urandom 512
46 SSLSessionCache none
47 SSLMutex file:ssl_mutex
48 SSLEngine On
49 </IfDefine>
51 <IfDefine DAV>
52 LoadModule dav_module modules/mod_dav.so
53 LoadModule dav_fs_module modules/mod_dav_fs.so
55 DAVLockDB DAVLock
56 <Location /dumb/>
57 Dav on
58 </Location>
59 </IfDefine>
61 <IfDefine SVN>
62 LoadModule dav_svn_module modules/mod_dav_svn.so
64 <Location /svn>
65 DAV svn
66 SVNPath svnrepo
67 </Location>
68 </IfDefine>