Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-25 Thread Giannis Economou
Mark Fuller wrote: On Sun, Feb 24, 2008 at 3:34 AM, Giannis Economou [EMAIL PROTECTED] wrote: Actually, the best thing for me was to use the mod_fcgid module (http://fastcgi.coremail.cn/) instead of the old fastcgi (www.fastcgi.com). mod_fcgid is binary compatibility to mod_fastcgi, but I

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-24 Thread David Emery
Mark Fuller [EMAIL PROTECTED] writes: BTW: The speedyCGI package installed with Ubuntu 7.10 (probably the same package available in Debian) seems to work. I'm not sure what version of Perl I'm getting. You'd be getting whatever version of Perl is on that machine. But, it's a pretty simple

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-24 Thread Giannis Economou
Hello... I'm using fastcgi for C::A for a long time in production installations, with success (with C::A::Dispatch). Actually, the best thing for me was to use the mod_fcgid module (http://fastcgi.coremail.cn/) instead of the old fastcgi (www.fastcgi.com). mod_fcgid is binary compatibility to

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-24 Thread Mark Fuller
On Sun, Feb 24, 2008 at 3:34 AM, Giannis Economou [EMAIL PROTECTED] wrote: Actually, the best thing for me was to use the mod_fcgid module (http://fastcgi.coremail.cn/) instead of the old fastcgi (www.fastcgi.com). mod_fcgid is binary compatibility to mod_fastcgi, but I like it much more.

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-24 Thread Mark Fuller
On Sun, Feb 24, 2008 at 1:42 AM, David Emery [EMAIL PROTECTED] wrote: You'd be getting whatever version of Perl is on that machine. Thanks. I had the idea that it was creating it's own statically linked Perl executable. It works very well for me. The ability to group scripts together to

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-24 Thread Ron Savage
Hi Mark To Ron: I emailed Sven, asking if he could reindex FCGI. He was very responsive. I received a reply in 10 minutes that he'd done it. (Just to let you know that discussion led to something productive.). If it doesn't appear in the search results by tomorrow I'll nag him a little more

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-23 Thread Ron Savage
On Thu, 2008-02-21 at 20:08 +0800, Silent wrote: Hi Silent Oops. I should mention the code has a few hard-coded paths like /home/ron/... embedded here and there. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-23 Thread Mark Fuller
On Fri, Feb 22, 2008 at 5:04 PM, Ron Savage [EMAIL PROTECTED] wrote: Here's a demo: This might be better asked on Perlmonks, but do you have a feel for how widely used is fastcgi? I got the impression it's not because the CPAN module isn't easy to find. Searching CPAN for fcgi returns a

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-23 Thread Michael Peters
Mark Fuller wrote: I'm just trying to understand what's commonly used. I feel like I'm missing something because I've heard it's desirable to use something other than mod_perl because Well, I've heard... :) Actually my opinions on this are actually based experience. I've been developing and

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-23 Thread Ron Savage
On Sat, 2008-02-23 at 10:01 -0700, Mark Fuller wrote: Hi Mark I see Michael Peters has already replied, and he know a great deal more that I do about these topics. Nevertheless, a few comments follow... This might be better asked on Perlmonks, but do you have a feel for how widely used is

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-23 Thread Silent
2008/2/23, Ron Savage [EMAIL PROTECTED]: On Thu, 2008-02-21 at 20:08 +0800, Silent wrote: Hi Silent Here's a demo: http://savage.net.au/Perl-modules/CGI-Application-Test-Dispatch-1.00.tgz Note: Test is used in the sense of testing my understanding of the dispatch style of app design in

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-23 Thread Mark Fuller
Curious. Still, reliable (software) technology doesn't have to be updated. This topic blew up Sorry. It just looked like nothing was happening with these various tools. For example: The SpeedyCGI/PersistentPerl web site has binaries for download which are ancient. The fastcgi site's FAQ has a

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-23 Thread Ron Savage
Hi Silent thanks very much! that's works, and in t.fcgi: Excellent. the line $request - Finish(); seems not needed. True. But it's a good habit to get into... and in my opinion, mod_perl is powerfull, but Fastcgi is also very fast than CGI, and it is more easyer to find vhost surport

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-23 Thread Ron Savage
Hi Mark life of me, I can't figure out how to find it on CPAN without already knowing where it is. :) Taken as a sum I gather impressions. That's all. IIRC there's a link from the FastCGI web site to the CPAN module. SpeedyCGI and pperl on CPAN) (if they work) seem to be more transparent.

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-23 Thread Mark Fuller
IIRC there's a link from the FastCGI web site to the CPAN module. Can you provide a link to the site that provides the link? :) If I go to www.fastcgi.com it has a link to CPAN's main page. The only way I found FCGI in the past was to browse FCGI::ProcManager (which turned up in a search for

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-23 Thread Ron Savage
Hi Mark Can you provide a link to the site that provides the link? :) If I go to www.fastcgi.com it has a link to CPAN's main page. Go to http://www.fastcgi.com/ and scroll down to /Perl/, not /CPAN/ (between Java and Python). Takes you straight to the module. A few lines of change is not

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-23 Thread Ron Savage
Hi Mark On Sat, 2008-02-23 at 23:19 -0700, Mark Fuller wrote: Go to http://www.fastcgi.com/ and scroll down to /Perl/, not /CPAN/ (between Java and Python). Takes you straight to the module. I see what you mean. If you click on the Perl link it takes you to a list of CPAN modules. Do

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-21 Thread Ron Savage
On Thu, 2008-02-21 at 09:59 +0800, Silent wrote: Hi Slient has anyone use C-A-Dispatch with FastCGI ? I had no trouble using it. I can send my code it that helps. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html # CGI::Application community mailing list

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-21 Thread David Steinbrunner
Silent wrote: has anyone use C-A-Dispatch with FastCGI ? snip 2. after search from google, I tryed: #!/usr/bin/perl use lib .; use CGI::Fast qw(:standard); use APP::Dispatch; while (my $q = CGI::Fast ) { APP::Dispatch-dispatch( args_to_new = { QUERY = $q },

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-21 Thread Silent
2008/2/21, David Steinbrunner [EMAIL PROTECTED]: Silent wrote: has anyone use C-A-Dispatch with FastCGI ? snip 2. after search from google, I tryed: #!/usr/bin/perl use lib .; use CGI::Fast qw(:standard); use APP::Dispatch; while (my $q = CGI::Fast ) {