最終更新:2010-06-16 (水) 09:31:26 (5061d)  

Linux/etc/httpd/conf.d/trac.conf
Top / Linux / etc / httpd / conf.d / trac.conf

<Location /trac>
        PythonInterpreter main_interpreter
        SetHandler mod_python
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnvParentDir /path/to/trac
        #PythonOption TracEnv /path/to/trac/project
        PythonOption TracUriRoot /trac/
</Location>

<Location /trac/project/login>
       AuthType Basic
       AuthName "Input your ID and Password."
       AuthUserFile /path/to/.htpasswd
       Require valid-user
</Location>

関連