Edgewall Software

Changes between Version 40 and Version 41 of TracModPython


Ignore:
Timestamp:
Sep 26, 2005, 11:38:48 PM (19 years ago)
Author:
dtarassenko@…
Comment:

Virtual Host configuration added

Legend:

Unmodified
Added
Removed
Modified
  • TracModPython

    v40 v41  
    7474}}}
    7575
     76== Virtual Host Configuration ==
     77
     78Below is the sample configuration required to set up your trac as a virtual server (i.e. when you access it at the URLs like
     79!http://trac.mycompany.com):
     80
     81{{{
     82<VirtualHost * >
     83    DocumentRoot /var/trac/myproject
     84    ServerName trac.mycompany.com
     85    <Directory />
     86        SetHandler mod_python
     87        PythonHandler trac.web.modpython_frontend
     88        PythonOption TracEnv /var/trac/myproject
     89        PythonOption TracUriRoot /
     90    </Directory>
     91    <Directory /login>
     92        AuthType Basic
     93        AuthName "MyCompany Trac Server"
     94        AuthUserFile /var/trac/myproject/.htusers
     95        Require valid-user
     96    </Directory>
     97</VirtualHost>
     98}}}
     99
    76100== Troubleshooting ==
    77101