[rt-users] FastCGI problem
David Hugh-Jones
hughjonesd at yahoo.co.uk
Fri Apr 30 08:27:50 EDT 2004
Hi Guys
Thanks very much for your helpful examples. My problem
is that the output of mason_handler.fcgi is being
redirected to the Apache error log rather than sent to
the browser. Can you think what might be causing this?
Is there a way to debug it?
David
--- Rich West <Rich.West at wesmo.com> wrote: > The
attached one looks like it has remnants of the
> mod_perl stuff in
> there. Mine is even less complex since it is
> strictly FastCGI (Apache2
> with FastCGI):
> ...
> LoadModule fastcgi_module modules/mod_fastcgi.so
> FastCgiIpcDir /var/log/httpd/fastcgi
> AddHandler fastcgi-script fcg fcgi fpl
> ...
> <VirtualHost my.hostname.com>
> ...
> FastCgiServer
>
/var/www/html/adm.wesmo.com/rt3/bin/mason_handler.fcgi
> ScriptAlias /rt3
>
/var/www/html/adm.wesmo.com/rt3/bin/mason_handler.fcgi/
> </VirtualHost>
>
> Hope this helps..
>
> -Rich
>
> >Here's what I have in my httpd.conf running under
> apache2 with fastcgi... Could give you an idea...
> >
> >Good luck!
> >SL
> >
> >
> > LoadModule fastcgi_module modules/mod_fastcgi.so
> > FastCgiIpcDir /tmp/fastcgi
> > <IfModule mod_fastcgi.c>
> > AddHandler fastcgi-script fcgi
> > FastCgiServer
> /opt/rt3/bin/mason_handler.fcgi -idle-timeout 3600
> > </IfModule>
> > Alias /rt3/NoAuth/images
> /opt/rt3/share/html/NoAuth/images/
> > ScriptAlias /rt3/ /opt/rt3/bin/mason_handler.fcgi/
> > AddHandler fastcgi-script fcgi
> >
> ><VirtualHost *>
> > ServerName rt3.localdomain
> > ServerAlias rt3
> > ServerSignature email
> > DocumentRoot /opt/rt3/share/html
> > AddDefaultCharset UTF-8
> >
> > # this line applies to Apache2+mod_perl2
> only
> > PerlModule Apache2 Apache::compat
> >
> > #PerlModule Apache::DBI
> > PerlRequire /opt/rt3/bin/webmux.pl
> > #RedirectMatch permanent (.*)/$
> http://rt3$1/index.html
> > RedirectMatch permanent (.*)/$
> http://rt3.localdomain$1/index.html
> > <Location />
> > SetHandler perl-script
> > PerlHandler RT::Mason
> > </Location>
> ></VirtualHost>
> >
> >
> >
> >-----Original Message-----
> >From: rt-users-bounces at lists.bestpractical.com
> >[mailto:rt-users-bounces at lists.bestpractical.com]On
> Behalf Of David
> >Hugh-Jones
> >Sent: Thursday, April 29, 2004 1:18 PM
> >To: rt-users at lists.bestpractical.com
> >Subject: [rt-users] FastCGI problem
> >
> >
> >Hi all,
> >
> >Well after a long struggle I am almost there!
> >
> >I am doing a non-root install of RT, a server where
> I
> >can't just choose anything. First of all, mod_perl
> is
> >built as a DSO. So I gave up trying with mod_perl
> >after getting a lot of "POST not working" bugs.
> >
> >Now I have set up FastCGI. Everything is almost
> >working. I can tell, because I can see the HTML for
> >the login page!
> >
> >Problem is, for some reason, that HTML is going to
> my
> >Apache error log, not to the client. As a result
> >Apache gives up on mason_handler.cgi.
> >
> >My configuration details:
> >
> >perl 5.6.1 (I can't change it, remember)
> >Apache 1.3
> >FastCGI as a module
> >
> >Part of httpd.conf:
> >
> ><VirtualHost support.myserver.com
> >tickets.myserver.com>
> ># added DHJ 27.4.04
> >ServerName support.myserver.com
> >DocumentRoot /usr/local/RT/share/html/
> >AddDefaultCharset UTF-8
> >
> >AddHandler fastcgi-script fcgi
> >ScriptAlias / /usr/local/RT/bin/mason_handler.fcgi/
> >FastCgiIpcDir /usr/local/RT/var/fcgi/
> >FastCgiServer /usr/local/RT/bin/mason_handler.fcgi
> >
> >Alias /NoAuth/images/
> >/usr/local/RT/share/html/NoAuth/images/
> > <Location />
> > SetHandler fastcgi-script
> > </Location>
> >
> ></VirtualHost>
> >
> >
> >
> >Any ideas what is going on or how to debug?
> >
> >Cheers
> >David
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >Any help
> >
>
____________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
More information about the rt-users
mailing list