Last active
August 29, 2015 13:56
-
-
Save tigefa4u/9330688 to your computer and use it in GitHub Desktop.
trac wsgi conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
<Directory "/home/git/trac"> | |
Options Indexes MultiViews | |
AllowOverride None | |
<IfVersion < 2.3 > | |
Order allow,deny | |
Allow from all | |
</IfVersion> | |
<IfVersion >= 2.3> | |
Require all granted | |
</IfVersion> | |
</Directory> | |
ServerAdmin sugeng@tigefa.org | |
ServerName trac.dev | |
ServerAlias trac.dev | |
<LocationMatch "/login"> | |
AuthType Basic | |
AuthName "Trac" | |
AuthUserFile "/home/git/trac/users/trac.htpasswd" | |
Require valid-user | |
</LocationMatch> | |
### TRAC MOD_WSGI_CONFIGURATION ### | |
WSGIScriptAlias / "/home/git/trac/cgi-bin/trac.wsgi" | |
<Directory "/home/git/trac/cgi-bin"> | |
WSGIApplicationGroup %{GLOBAL} | |
<IfVersion < 2.3 > | |
Order allow,deny | |
Allow from all | |
</IfVersion> | |
<IfVersion >= 2.3> | |
Require all granted | |
</IfVersion> | |
</Directory> | |
### TRAC MOD_PYTHON_CONFIGURATION ### | |
#<Location /trac> | |
# SetHandler mod_python | |
# PythonInterpreter main_interpreter | |
# PythonHandler trac.web.modpython_frontend | |
# PythonOption TracEnvParentDir "/opt/bitnami/apps/trac/trac_projects" | |
# PythonOption TracUriRoot /trac | |
#</Location> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment