SITES=[
- ('stderr.nl', ['php']),
+ ('stderr.nl', ['php', ('trac', 'applications/trac/trac.fcgi')]),
# ('stdin.nl', ['php']),
('stdout.nl', ['php']),
('ninniach.nl', ['php']),
site_dir = os.path.join(ROOT_DIR, site)
socket_dir = os.path.join(SOCKET_DIR, site_name)
+ # Pass the site dir to all fastcgi processes
+ os.environ['SITE_DIR'] = site_dir
+
if not site_dir:
raise Exception("Site dir does not exist: %s" % (site_dir))