123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <VirtualHost *:80>
-
-
-
- ServerAdmin bmallred@travisassoc.com
- UseCanonicalName Off
- DocumentRoot /var/www
- <Directory />
- WSGIApplicationGroup %{GLOBAL}
- Options FollowSymLinks
- AllowOverride None
- </Directory>
-
-
-
- Alias /trac /var/lib/trac/
- <Directory /var/lib/trac/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride None
- Order allow,deny
- allow from all
- SetHandler mod_python
- PythonHandler trac.web.modpython_frontend
- PythonOption TracEnvParentDir /var/lib/trac
- PythonOption TracEnvIndexTemplate /var/www/trac/projects.html
- PythonOption TracUriRoot /trac/
- </Directory>
- <LocationMatch "/[^/]+/login">
- AuthType Basic
- AuthName "trac"
-
- AuthUserFile /var/lib/trac/.htpasswd
-
-
-
-
-
-
-
-
-
- Require valid-user
- </LocationMatch>
-
-
-
- <Directory /var/lib/hg>
- DirectoryIndex index.html
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- Allow from all
- </Directory>
-
-
-
- WSGIScriptAliasMatch ^/hg(.*) /usr/lib/cgi-bin/hgweb.wsgi$1
- WSGIScriptAlias /trac /usr/lib/python2.6/dist-packages/trac/admin/templates/deploy_trac.wsgi
- WSGIDaemonProcess wsgitrac user=www-data group=www-data processes=5 threads=10 maximum-requests=1000 umask=0007
- WSGIProcessGroup wsgitrac
- ScriptAliasMatch ^/([a-zA-Z0-9]+)/cgi-bin/(.+) /usr/lib/cgi-bin/
- <Directory /usr/lib/cgi-bin/>
- AddHandler wsgi-script .wsgi
- Options ExecCGI FollowSymLinks SymLinksIfOwnerMatch
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
-
-
-
- LogLevel warn
- ErrorLog /var/log/apache2/error-sites.log
- CustomLog /var/log/apache2/access-sites.log combined
- CustomLog /var/log/apache2/ssl-access.log combined
- </VirtualHost>
|