2008-07-08 00:22:15 +04:00
|
|
|
ServerName dummy
|
2009-03-11 23:13:38 +03:00
|
|
|
LockFile accept.lock
|
2008-02-27 22:28:45 +03:00
|
|
|
PidFile httpd.pid
|
|
|
|
DocumentRoot www
|
2009-01-17 18:11:51 +03:00
|
|
|
LogFormat "%h %l %u %t \"%r\" %>s %b" common
|
|
|
|
CustomLog access.log common
|
2008-02-27 22:28:45 +03:00
|
|
|
ErrorLog error.log
|
2009-03-11 14:47:06 +03:00
|
|
|
<IfModule !mod_log_config.c>
|
|
|
|
LoadModule log_config_module modules/mod_log_config.so
|
|
|
|
</IfModule>
|
2009-10-31 03:47:46 +03:00
|
|
|
<IfModule !mod_alias.c>
|
|
|
|
LoadModule alias_module modules/mod_alias.so
|
|
|
|
</IfModule>
|
2009-10-31 03:47:47 +03:00
|
|
|
<IfModule !mod_cgi.c>
|
|
|
|
LoadModule cgi_module modules/mod_cgi.so
|
|
|
|
</IfModule>
|
|
|
|
<IfModule !mod_env.c>
|
|
|
|
LoadModule env_module modules/mod_env.so
|
|
|
|
</IfModule>
|
2009-10-31 03:47:46 +03:00
|
|
|
|
|
|
|
Alias /dumb/ www/
|
2008-02-27 22:28:45 +03:00
|
|
|
|
2009-10-31 03:47:47 +03:00
|
|
|
<Location /smart/>
|
|
|
|
SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
|
2009-12-29 00:49:00 +03:00
|
|
|
SetEnv GIT_HTTP_EXPORT_ALL
|
|
|
|
</Location>
|
|
|
|
<Location /smart_noexport/>
|
|
|
|
SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
|
2009-10-31 03:47:47 +03:00
|
|
|
</Location>
|
|
|
|
ScriptAlias /smart/ ${GIT_EXEC_PATH}/git-http-backend/
|
2009-12-29 00:49:00 +03:00
|
|
|
ScriptAlias /smart_noexport/ ${GIT_EXEC_PATH}/git-http-backend/
|
2009-10-31 03:47:47 +03:00
|
|
|
<Directory ${GIT_EXEC_PATH}>
|
|
|
|
Options None
|
|
|
|
</Directory>
|
|
|
|
<Files ${GIT_EXEC_PATH}/git-http-backend>
|
|
|
|
Options ExecCGI
|
|
|
|
</Files>
|
|
|
|
|
2008-02-27 22:28:45 +03:00
|
|
|
<IfDefine SSL>
|
|
|
|
LoadModule ssl_module modules/mod_ssl.so
|
|
|
|
|
|
|
|
SSLCertificateFile httpd.pem
|
|
|
|
SSLCertificateKeyFile httpd.pem
|
|
|
|
SSLRandomSeed startup file:/dev/urandom 512
|
|
|
|
SSLRandomSeed connect file:/dev/urandom 512
|
|
|
|
SSLSessionCache none
|
|
|
|
SSLMutex file:ssl_mutex
|
|
|
|
SSLEngine On
|
|
|
|
</IfDefine>
|
|
|
|
|
|
|
|
<IfDefine DAV>
|
|
|
|
LoadModule dav_module modules/mod_dav.so
|
|
|
|
LoadModule dav_fs_module modules/mod_dav_fs.so
|
|
|
|
|
|
|
|
DAVLockDB DAVLock
|
2009-10-31 03:47:46 +03:00
|
|
|
<Location /dumb/>
|
2008-02-27 22:28:45 +03:00
|
|
|
Dav on
|
|
|
|
</Location>
|
|
|
|
</IfDefine>
|
|
|
|
|
|
|
|
<IfDefine SVN>
|
|
|
|
LoadModule dav_svn_module modules/mod_dav_svn.so
|
|
|
|
|
|
|
|
<Location /svn>
|
|
|
|
DAV svn
|
|
|
|
SVNPath svnrepo
|
|
|
|
</Location>
|
|
|
|
</IfDefine>
|