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 </Location>
26 ScriptAlias /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>
34 <IfDefine SSL>
35 LoadModule ssl_module modules/mod_ssl.so
37 SSLCertificateFile httpd.pem
38 SSLCertificateKeyFile httpd.pem
39 SSLRandomSeed startup file:/dev/urandom 512
40 SSLRandomSeed connect file:/dev/urandom 512
41 SSLSessionCache none
42 SSLMutex file:ssl_mutex
43 SSLEngine On
44 </IfDefine>
46 <IfDefine DAV>
47 LoadModule dav_module modules/mod_dav.so
48 LoadModule dav_fs_module modules/mod_dav_fs.so
50 DAVLockDB DAVLock
51 <Location /dumb/>
52 Dav on
53 </Location>
54 </IfDefine>
56 <IfDefine SVN>
57 LoadModule dav_svn_module modules/mod_dav_svn.so
59 <Location /svn>
60 DAV svn
61 SVNPath svnrepo
62 </Location>
63 </IfDefine>