t / lib-httpd / apache.confon commit Merge branch 'ak/apply-non-git-epoch' (f565f6e)
   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<IfModule !mod_rewrite.c>
  21        LoadModule rewrite_module modules/mod_rewrite.so
  22</IFModule>
  23
  24Alias /dumb/ www/
  25
  26<Location /smart/>
  27        SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
  28        SetEnv GIT_HTTP_EXPORT_ALL
  29</Location>
  30<Location /smart_noexport/>
  31        SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
  32</Location>
  33ScriptAlias /smart/ ${GIT_EXEC_PATH}/git-http-backend/
  34ScriptAlias /smart_noexport/ ${GIT_EXEC_PATH}/git-http-backend/
  35<Directory ${GIT_EXEC_PATH}>
  36        Options None
  37</Directory>
  38<Files ${GIT_EXEC_PATH}/git-http-backend>
  39        Options ExecCGI
  40</Files>
  41
  42RewriteEngine on
  43RewriteRule ^/smart-redir-perm/(.*)$ /smart/$1 [R=301]
  44RewriteRule ^/smart-redir-temp/(.*)$ /smart/$1 [R=302]
  45
  46<IfDefine SSL>
  47LoadModule ssl_module modules/mod_ssl.so
  48
  49SSLCertificateFile httpd.pem
  50SSLCertificateKeyFile httpd.pem
  51SSLRandomSeed startup file:/dev/urandom 512
  52SSLRandomSeed connect file:/dev/urandom 512
  53SSLSessionCache none
  54SSLMutex file:ssl_mutex
  55SSLEngine On
  56</IfDefine>
  57
  58<IfDefine DAV>
  59        LoadModule dav_module modules/mod_dav.so
  60        LoadModule dav_fs_module modules/mod_dav_fs.so
  61
  62        DAVLockDB DAVLock
  63        <Location /dumb/>
  64                Dav on
  65        </Location>
  66</IfDefine>
  67
  68<IfDefine SVN>
  69        LoadModule dav_svn_module modules/mod_dav_svn.so
  70
  71        <Location /svn>
  72                DAV svn
  73                SVNPath svnrepo
  74        </Location>
  75</IfDefine>