1ServerName dummy
2LockFile accept.lock
3PidFile httpd.pid
4DocumentRoot www
5LogFormat "%h %l %u %t \"%r\" %>s %b" common
6CustomLog access.log common
7ErrorLog 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>
20
21Alias /dumb/ www/
22
23<Location /smart/>
24 SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
25</Location>
26ScriptAlias /smart/ ${GIT_EXEC_PATH}/git-http-backend/
27<Directory ${GIT_EXEC_PATH}>
28 Options None
29</Directory>
30<Files ${GIT_EXEC_PATH}/git-http-backend>
31 Options ExecCGI
32</Files>
33
34<IfDefine SSL>
35LoadModule ssl_module modules/mod_ssl.so
36
37SSLCertificateFile httpd.pem
38SSLCertificateKeyFile httpd.pem
39SSLRandomSeed startup file:/dev/urandom 512
40SSLRandomSeed connect file:/dev/urandom 512
41SSLSessionCache none
42SSLMutex file:ssl_mutex
43SSLEngine On
44</IfDefine>
45
46<IfDefine DAV>
47 LoadModule dav_module modules/mod_dav.so
48 LoadModule dav_fs_module modules/mod_dav_fs.so
49
50 DAVLockDB DAVLock
51 <Location /dumb/>
52 Dav on
53 </Location>
54</IfDefine>
55
56<IfDefine SVN>
57 LoadModule dav_svn_module modules/mod_dav_svn.so
58
59 <Location /svn>
60 DAV svn
61 SVNPath svnrepo
62 </Location>
63</IfDefine>