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 SetEnv GIT_HTTP_EXPORT_ALL
26</Location>
27<Location /smart_noexport/>
28 SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
29</Location>
30ScriptAlias /smart/ ${GIT_EXEC_PATH}/git-http-backend/
31ScriptAlias /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>
38
39<IfDefine SSL>
40LoadModule ssl_module modules/mod_ssl.so
41
42SSLCertificateFile httpd.pem
43SSLCertificateKeyFile httpd.pem
44SSLRandomSeed startup file:/dev/urandom 512
45SSLRandomSeed connect file:/dev/urandom 512
46SSLSessionCache none
47SSLMutex file:ssl_mutex
48SSLEngine On
49</IfDefine>
50
51<IfDefine DAV>
52 LoadModule dav_module modules/mod_dav.so
53 LoadModule dav_fs_module modules/mod_dav_fs.so
54
55 DAVLockDB DAVLock
56 <Location /dumb/>
57 Dav on
58 </Location>
59</IfDefine>
60
61<IfDefine SVN>
62 LoadModule dav_svn_module modules/mod_dav_svn.so
63
64 <Location /svn>
65 DAV svn
66 SVNPath svnrepo
67 </Location>
68</IfDefine>