[Catalyst-dev] RFC - Catalyst-Helper-FCGI

Kieren Diment diment at gmail.com
Wed Oct 4 02:10:01 CEST 2006


On 03/10/06, Daisuke Murase <typester at cpan.org> wrote:
>
> On Tue, 3 Oct 2006 21:05:40 +1000, "Kieren Diment" <diment at gmail.com>
> wrote:
> > I've written some tests to look for non-identical behaviour between the
> test
> > server and for fastcgi under lighttpd, both where deploying the
> application
> > under the server root or in a subdir.
> >
> > Please have a look and run the tests yourself if possible.  I know the
> way I
> > set up the lighttpd config is not ideal, but it works for now™.
> >
> > I'm planning to add apache tests as well and would appreciate
> advice/working
> > code on the best way to do this.
> >
> > At the moment I am unable to offer tests for IIS, which I know we are
> all
> > sad about.
> >
> > it's in catalyst trunk at: Catalyst-Helper-FastCGI
>
> This is very similar to Catalyst-Helper-Lighttpd what I'm working on.
>
> http://svn.unknownplace.org/public/library/perl/trunk/Catalyst-Helper-Lighttpd/
>
> Helper::Lighttpd is also have -p option for output lighttpd configuration.
> You can easily setup your fastcgi application by using this like:
>
>     # lighty.conf
>     include_shell "/path/to/myapp_lighttpd.pl -p"
>
> Lighttpd is simple and nice.
>
> What are you think about this?



This looks sensible to me I think - unless there's an alternative solution
that means that we can use the existing fcgi script.  The sensible thing to
do I suppose is to fold the tests that I wrote into this module and use
helper script to generate a lightty instance running under fcgi to ensure
that there's identical behaviour between this and the test server output.

I'm also keen to provide the same for apache, but I'd really like someone
who knows apache better to sort out the config for the two test scripts that
would need to be run.

Marcus had some thoughts on this on irc I beleive

And I can work with you if you want.
>
> Regards,
>
> --
> Daisuke Murase <typester at cpan.org>
> _______________________________________________
> Catalyst-dev mailing list
> Catalyst-dev at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst-dev/attachments/20061004/4f532477/attachment.htm 


More information about the Catalyst-dev mailing list