|
Hey all,
I’ve been nearly successful in installing Trac on our development server…SVN works and Trac seems to be running (the admin works and such), but there are some path issues when accessing the Trac web pages. I’m not sure if it’s an issue in how I have the cgi set-up or if it’s my Apache config, but I’m pretty sure it’s something to do with one or the other…or both.
If someone with experience in setting-up SVN and Trac on a Windows box could offer some suggestion, I’d be very grateful.
Here are the details:
svn 1.3.1 python 2.3 sqlite 3 pysqlite 1.1.7 trac 0.9.4 clearsilver 0.9.14 apache 2.0.54
Error: Traceback (most recent call last): File "C:/Apache Group/Apache2/cgi-bin/trac.cgi", line 20, in ? cgi_frontend.run() File "C:\Python23\Lib\site-packages\trac\web\cgi_frontend.py", line 123, in run env = get_environment(req, os.environ, threaded=False) File "C:\Python23\Lib\site-packages\trac\web\main.py", line 329, in get_environment raise TracError, \TracError: The environment options "TRAC_ENV" or "TRAC_ENV_PARENT_DIR" or the mod_python options "TracEnv" or "TracEnvParentDir" are missing. Trac requires one of these options to locate the Trac environment(s).
Here is my Apache (2.0.54) config entry for Trac:
# TRAC Alias /trac "C:/Python23/share/trac/htdocs"
<Location /cgi-bin/trac.cgi> SetEnv TRAC_ENV "c:/svn/trac.db" SetEnv PYTHONPATH "c:/Subversion/bin" # if you are running Apache as a user other than System, the TMP variable # needs to be set to a place where that user can write scratch files. Make # sure that this directory is created and writable by that user. # SetEnv TMP "c:/svn/trac.db/tmp </Location>
<Location /cgi-bin/trac.cgi/login> AuthType Basic AuthName "Project" AuthUserFile C:/svn/.htaccess Require valid-user </Location>
<Directory "C:/Python23/share/trac/htdocs"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory>
Any other info needed is available, just let me know.
Cheers, Jordan
|
_______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
