Internal Error
TracError: IOError: [Errno 2] No such file or directory: '/opt/trac/Test/VERSION'
I did try restarting apache many time...
If I restore the Test directory, then go to the home page, I get my normal trac site for Test project, instead of links to my two projects.
If I use
I was using apache with mod_python, then switched to mod_wsgi, but it did not change anything to my problem.
am using Trac version: 0.12.3, on RedHat ent 5.7
My current apache config is:
# cat /etc/httpd/conf.d/trac.conf
WSGIScriptAlias /projects /opt/trac/trac.wsgi
<Directory /opt/trac>
WSGIApplicationGroup %{GLOBAL}
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<LocationMatch "/projects/[^/]+/login">
SSLRequireSSL
AuthType Basic
AuthName "Project Management"
AuthUserFile /etc/webauth/.htpasswd
AuthGroupFile /etc/webauth/.htgroup
# Require valid-user
Require group ARC
</LocationMatch>
# cat /opt/trac/trac.wsgi
import sys
sys.stdout = sys.stderr
import os
os.environ['TRAC_ENV_PARENT_DIR'] = '/opt/trac'
os.environ['PYTHON_EGG_CACHE'] = '/opt/trac/eggs'
import trac.web.main
application = trac.web.main.dispatch_request
Questions:
- Where does it find reference to my Test project, even after I remove the Test directory?
- Can I enable Trac debugging at the apache level, as opposed to per project level?
Thanks a lot,
Mohamed.