You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
709 B
26 lines
709 B
## |
|
## trac.conf -- Apache configuration |
|
## |
|
|
|
# approach 1: Apache mod_wsgi (default) |
|
<IfModule wsgi_module> |
|
WSGIScriptAlias /trac @_prefix@/etc/trac/trac.wsgi |
|
WSGIDaemonProcess all user=@l_rusr@ group=@l_rgrp@ processes=2 threads=25 |
|
<Directory @l_prefix@/etc/trac> |
|
WSGIProcessGroup all |
|
WSGIApplicationGroup %{GLOBAL} |
|
WSGIPassAuthorization on |
|
Order deny,allow |
|
Allow from all |
|
</Directory> |
|
</IfModule> |
|
|
|
# approach 2: Apache mod_proxy (fallback) |
|
<IfModule !wsgi_module> |
|
<IfModule proxy_module> |
|
ProxyPass /trac/ http://127.0.0.1:8080/ |
|
ProxyPassReverse /trac/ http://127.0.0.1:8080/ |
|
ProxyPreserveHost on |
|
</IfModule> |
|
</IfModule> |
|
|
|
|