Getting fastcgi to pick up TRAC_ENV
- From: "Al Arzaga" <broohaha (at) gmail.com>
- Date: Fri, 24 Feb 2006 15:16:21 -0600
Hi,
I'll be serving multiple trac projects in an apache 2.2 server. And in my httpd.conf file, I'm applying the following RewriteRule:
RewriteRule ^/([^/]+)/?$ /trac.fcgi [S=1,E=TRAC_ENV:/usr/home/$1/trac] [L]
But I get the following error in my log file:
FastCGI: server "/var/www/projects/trac.fcgi" stderr: 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).
How can I get TRAC_ENV properly picked up in this RewriteRule?
-Al
_______________________________________________
Trac mailing list
Trac (at) lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac