All pastes #902357 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-02-13 12:52 UTC
rendered paste body
<VirtualHost <ip>:443>
        ServerName              some.domain.com
        ServerAdmin             tracadmin@domain.com
        DocumentRoot            /path/to/trac
        <Directory /path/to/trac>
                Order   Allow,Deny
                Allow from all
                Deny from none
        </Directory>
        <Location />
                SetHandler              mod_python
                PythonInterpreter       main_interpreter
                PythonHandler           trac.web.modpython_frontend
                PythonOption            TracEnv         /path/to/trac/
                PythonOption            TracUriRoot     /
        </Location>
        <LocationMatch /login>
                AuthType                Basic
                AuthName                "Project"
                AuthUserFile            /path/to/trac/
                Require                 valid-user
        </LocationMatch>
        SSLEngine               On
        SSLCertificateFile      /etc/httpd/conf/ssl.crt/project.crt
        SSLCertificateKeyFile   /etc/httpd/conf/ssl.key/project.unsecure
</VirtualHost>
~