#2969: SQLite library routine called out of sequence, with mod_python, apache,
trac, and sqlite all installed by darwinports
---------------------------------+------------------------------------------
 Reporter:  [EMAIL PROTECTED]    |        Owner:  cmlenz
     Type:  defect               |       Status:  new   
 Priority:  normal               |    Milestone:        
Component:  mod_python frontend  |      Version:  0.9.4 
 Severity:  normal               |   Resolution:        
 Keywords:                       |  
---------------------------------+------------------------------------------
Comment (by Russell Hind <[EMAIL PROTECTED]>):

 Replying to [comment:15 [EMAIL PROTECTED]:
 > Russell, what's your FCGI configuration, I tried this solution and it is
 utterly slow compared to mod_python, and even prone to errors (like source
 code appearing on Trac pages above the pages themselves, sometimes).

 I copied trac.fcgi to /opt/local/apache2/cgi-bin and added the following
 lines to tell it where the environment is:

 {{{
 import os
 os.environ['TRAC_ENV'] = "/Users/Shared/trac"
 }}}

 This is the relevant section from my apache config.  Hope this helps.

 Russell

 {{{
 <IfModule mod_fastcgi.c>
         FastCgiIpcDir /opt/local/apache2/fastcgi
         AddHandler fastcgi-script .fcgi
 </IfModule>

 Alias /trac_htdocs/ "/opt/local/share/trac/htdocs/"

 <Directory /opt/local/share/trac/htdocs>
         Options Indexes MultiViews
         AllowOverride None
         Order allow,deny
         Allow from all
 </Directory>

 ScriptAlias /trac /opt/local/apache2/cgi-bin/trac.fcgi

 <Location /trac/login>
   AuthType Basic
   AuthName "Trac Wiki and Bug Tracking System"
   AuthUserFile /Users/Shared/.htpasswd
   Require valid-user
 </Location>
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2969>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to