-
Notifications
You must be signed in to change notification settings - Fork 1
/
trac.conf.template
30 lines (26 loc) · 954 Bytes
/
trac.conf.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<VirtualHost *:80>
ServerAdmin TRAC_SERVER_ADMIN_EMAIL
Servername TRAC_SERVER_NAME
DocumentRoot TRAC_DOCUMENT_ROOT
<Location />
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv TRAC_DOCUMENT_ROOT
PythonOption TracEnvParentDir TRAC_REPOSITORIES_PATH
PythonOption TracUriRoot /
PythonOption TracLocale en_US.UTF8
PythonOption PYTHON_EGG_CACHE /tmp
Order allow,deny
Allow from all
</Location>
# Authenticate the user
<Location /login>
AuthType Basic
AuthName "Trac"
Require valid-user
AuthUserFile TRAC_AUTH_FILE_PATH
</Location>
CustomLog /var/log/apache2/access.log combined
ErrorLog /var/log/apache2/error.log
</VirtualHost>