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

Reply via email to