Hi,

I'm not familiar with fcgi, so I cannot help you with that. 

The error message is related to tracks trying to get the revision number of
your tracks install using svn. I guess that you did not recreate
application.rb from the 1.5 final release. I removed the check since the
revision number it is more relevant for development. If you recreate
application.rb from the template application.rb.tmpl as described in the
release notes, the error will probably disappear.

Reinier

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Corey Van Allen
Verzonden: maandag 31 maart 2008 20:10
Aan: [email protected]
Onderwerp: [Tracks-discuss] tracks, apache2, mod-fcgid

Anyone have any tips on setting up tracks, apache2, and mod-fcgid so it
isn't dog slow? Currently using WEBrick is much faster than my desired
configuration. Below are the relevant portions of my config.

# site gtd.example.com
<VirtualHost *:80>
         ServerName gts.example.com
         DocumentRoot /var/www/gtd.example.com/public

         LogLevel warn
         ErrorLog /var/log/apache2/error.log
         CustomLog /var/log/apache2/access.log combined
         DefaultInitEnv RAILS_ENV production
         IdleTimeout -1
         DefaultMaxClassProcessCount 2

         <Directory "/var/www/gtd.example.com/public">
                 Options +FollowSymLinks +ExecCGI
                 AddHandler fcgid-script .fcgi
                 AllowOverride all
                 Allow from all
                 Order allow,deny
                 ErrorDocument 500 "<h2>Application error</h2>Rails
application failed to start properly"
                 RewriteEngine On
                 RewriteRule ^$ index.html [QSA]
                 RewriteRule ^([^.]+)$ $1.html [QSA]
                 RewriteCond %{REQUEST_FILENAME} !-f
                 RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
                 FCGIWrapper "/usr/bin/ruby
/var/www/gtd.example.com/pulic/dispatch.fcgi" .fcgi
         </Directory>
</VirtualHost>

#fcgid.conf
<IfModule mod_fcgid.c>
   AddHandler    fcgid-script .fcgi
   SocketPath    /var/lib/apache2/fcgid/sock
   SharememPath  /var/lib/apache2/fcgid/shm
   IPCConnectTimeout 20
   IPCCommTimeout 40
   DefaultInitEnv RAILS_ENV production
</IfModule>


Also, not sure if this is related or not, in my apache error log I get this
with each request.
[Mon Mar 31 12:04:57 2008] [error] [client 172.31.0.11] svn: '.' is not a
working copy, referer: http://gtd.example.com/projects

Any help would be appreciated.

-- 
Corey
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to