trac apache 配置

954阅读 0评论2011-08-05 alanland
分类:

首先:httpd.conf增加
ServerName localhost
/etc/apache2/conf.d 下增加文件 trac.conf

  AuthType Basic
  AuthName "Trac"
  AuthUserFile /home/wang/Documents/trac/first-trac/passwd/trac.htpasswd
  Require valid-user


#setup trac on mod_python

   SetHandler mod_python
   PythonInterpreter main_interpreter
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnv /home/wang/Documents/trac/first-trac
   PythonOption TracUriRoot /trac
   Order allow,deny
   Allow from all





上一篇:trac python 升级
下一篇:bugzilla 安装