tried that as well, still goes to the 500 error page

I also tried all sorts of options of commenting and uncommenting in the
htaccess, in httpd.conf and even cgi. No dice. Have you gotten it working
with fcgi?

-Benjamin

On Wed, May 6, 2009 at 1:35 PM, Reinier Balt <[email protected]> wrote:

>  Shouldn’t you uncomment the AddHandler in .htaccess?
>
>
>
> Reinier
>
>
>
> *Van:* [email protected] [mailto:
> [email protected]] *Namens *Benjamin Fleischer
> *Verzonden:* dinsdag 5 mei 2009 0:21
> *Aan:* track-discuss
> *Onderwerp:* [Tracks-discuss] tracks with fastcgi
>
>
>
> I'm trying to minimize my memory footprint.
> with webrick, mongrel, eventmachine, thin,
> each takes about 55mb of ram
> with mod_rails passenger it takes 80 or more.
>
> I wanted to try with fcgi but couldn't get it working
> apache 2
> ruby 1.8.6
> gem rails
> gem fcgi
>
> I tried it two ways:
> In httpd.conf
> Both)AddHandler fastcgi-script .fcgi
> ln -s /var/www/tracks/public /var/www/html/publictracks
> 1)
> Alias /tracks /var/www/html/publictracks
> 2)
> Alias /tracks /var/www/html/publictracks
> <Directory /var/www/html/publictracks>
>                 RewriteEngine on
>                 RewriteCond %{REQUEST_FILENAME} !-f
>                 RewriteRule ^/(.*) dispatch.fcgi [QSA,L]
> </Directory>
>
> And in /var/www/tracks/public
> .htaccess
> # AddHandler fcgid-script .fcgi
> # AddHandler fastcgi-script .fcgi
> # AddHandler cgi-script .cgi
> Options +FollowSymLinks +ExecCGI
> RewriteBase /tracks
> RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
>
> any ideas?
>
> -Benjamin
>
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to