I've deployed trac using apache/mod_wsgi (no SSL) (preferable, since the problem I'm facing with CGI is performance), and it works fine WITHOUT SVN integration. But I actually need SVN, so when I configure the repository path (i.e: repository_dir = c:/projects/svn/my_project) I can't even get my project TRAC to even open any of its pages.
On Mozilla Firefox shows a white page and on MS-IE shows a 'The page cannot be displayed' error as if the server has 'timed out'.
I've tried with mod_python (3.3.1) and the exact same problem happens. It works fine with CGI though.
I've also tried disabeling SVN authentication, thinking it might be a authentication conflict (I'm using Apache Basic Auth).
Environment:
- Win 2000 Server SP 4;
- Apache 2.2.10;
- Python 2.5.2;
- mod_wsgi revision 1018 2.3, py25_apache22;
- Trac 0.12dev;
- Subversion 1.5.3.
Configuration files:
- Apache httpd.conf excerpt:
WSGIScriptAlias /trac "c:/projects/apache/trac.wsgi" <Directory c:/projects/apache> WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all </Directory>
- trac.wsgi:
import sys sys.stdout = sys.stderr import os os.environ['TRAC_ENV_PARENT_DIR'] = 'c:/projects/trac' os.environ['PYTHON_EGG_CACHE'] = 'c:/projects/eggs' import trac.web.main application = trac.web.main.dispatch_request
- trac.ini excerpt:
repository_type = svn repository_dir = c:/projects/svn/my_project
Any ideas???
Thanks, Lucas Fragomeni