Re: [cgiapp] cgi::application::dispatch under PSGI

2012-03-02 Thread Kurt Lidl
On 2/28/2012 2:33 PM, Rhesa Rozendaal wrote: > On 02/28/2012 05:45 PM, Kurt Lidl wrote: >> Greetings. >> >> I've got a large application that is running under mod_perl, running on >> Apache 2.2.22. >> Everything is working OK there. It uses CGI::Application::Dispatch as >> its invocation >> method

Re: [cgiapp] cgi::application::dispatch under PSGI

2012-02-28 Thread Rhesa Rozendaal
On 02/28/2012 05:45 PM, Kurt Lidl wrote: > Greetings. > > I've got a large application that is running under mod_perl, running on > Apache 2.2.22. > Everything is working OK there. It uses CGI::Application::Dispatch as > its invocation > method. I'm using roughly the same stack, though I use star

Re: [cgiapp] cgi::application::dispatch under PSGI

2012-02-28 Thread Kurt Lidl
On 2/28/2012 11:45 AM, Kurt Lidl wrote: > Greetings. > > I've got a large application that is running under mod_perl, running on > Apache 2.2.22. > Everything is working OK there. It uses CGI::Application::Dispatch as > its invocation > method. Debugging this further, I see that the PATH_INFO env

Re: [cgiapp] cgi::application::dispatch doesn't handle start_mode

2011-03-14 Thread Mark Stosberg
On 03/11/2011 11:20 PM, Ron Savage wrote: > Hi James > > On Fri, 2011-03-11 at 19:58 -0800, James.Q.L wrote: >> Thanks for reporting it on RT. >> >> I think C::A::D should respect C::A's start_mode. If no rm is defined in >> C::A::D rules, the start_mode in the dispatched module should be used.

Re: [cgiapp] cgi::application::dispatch doesn't handle start_mode

2011-03-11 Thread Ron Savage
Hi James On Fri, 2011-03-11 at 19:58 -0800, James.Q.L wrote: > Thanks for reporting it on RT. > > I think C::A::D should respect C::A's start_mode. If no rm is defined in > C::A::D rules, the start_mode in the dispatched module should be used. > > A sentence of describing the use of start_mode

Re: [cgiapp] cgi::application::dispatch doesn't handle start_mode

2011-03-11 Thread James.Q.L
avage wrote: > From: Ron Savage > Subject: Re: [cgiapp] cgi::application::dispatch doesn't handle start_mode > To: "CGI Application" > Date: Friday, March 11, 2011, 3:59 PM > Hi James > > I've logged an error report: > > https://rt.cpan.org/Ticket/D

Re: [cgiapp] cgi::application::dispatch doesn't handle start_mode

2011-03-11 Thread Ron Savage
Hi James I've logged an error report: https://rt.cpan.org/Ticket/Display.html?id=66558 -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 # CGI::Application community mailing list #### ## To unsubscribe, or

Re: [cgiapp] cgi::application::dispatch doesn't handle start_mode

2011-03-10 Thread Ron Savage
Hi James On Thu, 2011-03-10 at 20:15 -0800, James.Q.L wrote: > --- On Sat, 3/5/11, Ron Savage wrote: > > > From: Ron Savage > > Subject: Re: [cgiapp] cgi::application::dispatch doesn't handle start_mode > > To: "CGI Application" > > Date:

Re: [cgiapp] cgi::application::dispatch doesn't handle start_mode

2011-03-10 Thread James.Q.L
--- On Sat, 3/5/11, Ron Savage wrote: > From: Ron Savage > Subject: Re: [cgiapp] cgi::application::dispatch doesn't handle start_mode > To: "CGI Application" > Date: Saturday, March 5, 2011, 6:40 PM > Hi James > > On Sat, 2011-03-05 at 01:25 -0800, James.Q

Re: [cgiapp] cgi::application::dispatch doesn't handle start_mode

2011-03-05 Thread Ron Savage
Hi James On Sat, 2011-03-05 at 01:25 -0800, James.Q.L wrote: > Hi, > > It seems that C::A::D always sets the runmode to $rm_HTTP_METHOD even when > $rm is not set, which produces a _HTTP_METHOD runmode. that' doesn't work > when start_mode is expected to be run. it is due to the following code

Re: [cgiapp] cgi::application::dispatch and modperl

2010-10-11 Thread Kurt Lidl
On 10/11/2010 10:53 AM, Michael Peters wrote: > On 10/11/2010 10:00 AM, Kurt Lidl wrote: > >> But, to follow up the "tighter integration" part of the answer: Is there >> a good >> example/resource that shows how this is done? > > I depends on what you want to do. One of the benefits of C::A is th

Re: [cgiapp] cgi::application::dispatch and modperl

2010-10-11 Thread Michael Peters
On 10/11/2010 10:00 AM, Kurt Lidl wrote: > But, to follow up the "tighter integration" part of the answer: Is there > a good > example/resource that shows how this is done? I depends on what you want to do. One of the benefits of C::A is that it separates out your development from Apache so that

Re: [cgiapp] cgi::application::dispatch and modperl

2010-10-11 Thread Kurt Lidl
On 10/8/2010 12:29 PM, Michael Peters wrote: > On 10/08/2010 11:12 AM, Kurt Lidl wrote: > >> Now this is all basically working, but not exactly as I would expect. >> I see that for request that comes in, both cgiapp_init as >> well as cgiapp_prerun get executed, for every request. > > >> I expect

Re: [cgiapp] cgi::application::dispatch and modperl

2010-10-08 Thread Michael Peters
On 10/08/2010 11:12 AM, Kurt Lidl wrote: > Now this is all basically working, but not exactly as I would expect. > I see that for request that comes in, both cgiapp_init as > well as cgiapp_prerun get executed, for every request. > > I expected that cgiapp_init would get executed only when > Apac

Re: [cgiapp] CGI::Application::Dispatch Question

2010-05-10 Thread Graham TerMarsch
On May 10, 2010, Michael Peters wrote: > On 05/10/2010 09:36 AM, Brad Van Sickle wrote: > > It appears that Dispatch.pm is never getting a value for $ENV{PATH_INFO} > > > > Printing out my environment hash, I can see that PATH_INFO is not > > available as an option, however I do have a REQUEST_URI

Re: [cgiapp] CGI::Application::Dispatch Question

2010-05-10 Thread Brad Van Sickle
Server version: Apache/2.2.12 (Unix) mod_perl2 Michael Peters wrote: > On 05/10/2010 09:36 AM, Brad Van Sickle wrote: > >> It appears that Dispatch.pm is never getting a value for $ENV{PATH_INFO} >> >> Printing out my environment hash, I can see that PATH_INFO is not >> available as an option,

Re: [cgiapp] CGI::Application::Dispatch Question

2010-05-10 Thread Michael Peters
On 05/10/2010 09:36 AM, Brad Van Sickle wrote: > It appears that Dispatch.pm is never getting a value for $ENV{PATH_INFO} > > Printing out my environment hash, I can see that PATH_INFO is not > available as an option, however I do have a REQUEST_URI option that > looks like it might work. This see

Re: [cgiapp] CGI::Application::Dispatch Question

2010-05-10 Thread Brad Van Sickle
It appears that Dispatch.pm is never getting a value for $ENV{PATH_INFO} Printing out my environment hash, I can see that PATH_INFO is not available as an option, however I do have a REQUEST_URI option that looks like it might work. in my dispatch handler I attempted to set the PATH_INFO key

Re: [cgiapp] CGI::Application::Dispatch Question

2010-05-07 Thread Brad Van Sickle
Thanks! this looks like it will work perfectly. However, I'm still having a bit of trouble getting dispatching to work properly. I have a handler set up under mod_perl to send all requests that start with /dispatchperl/ to my dispatcher, and I have verfiied that this setup is infact handling

Re: [cgiapp] CGI::Application::Dispatch Question

2010-05-07 Thread Michael Peters
On 05/07/2010 11:09 AM, Brad Van Sickle wrote: > example: > I have the URI - /Home and I want to translate that to rm=Content and > populate the $self->param('Session') "variable" with "Home" Today I > simply use mod_rewrite to translate that URI into > /index.pl?rm=Content&Section=Home and then

Re: [cgiapp] CGI::Application::Dispatch problem

2010-04-27 Thread Brad Van Sickle
Ah. of course. Appears to be working now. Thanks! Michael Peters wrote: > On 04/27/2010 03:12 PM, Brad Van Sickle wrote: > > >> [Tue Apr 27 11:58:35 2010] -e: [Dispatch] ERROR for request >> '/dispatchperl/': Can't locate object method "new" via package >> "public::Packages::PublicSite" a

Re: [cgiapp] CGI::Application::Dispatch problem

2010-04-27 Thread Michael Peters
On 04/27/2010 03:12 PM, Brad Van Sickle wrote: > [Tue Apr 27 11:58:35 2010] -e: [Dispatch] ERROR for request > '/dispatchperl/': Can't locate object method "new" via package > "public::Packages::PublicSite" at > /usr/lib/perl5/site_perl/5.8.8/CGI/Application/Dispatch.pm line 702. > [Tue Apr 27 11:

Re: [cgiapp] CGI::Application::Dispatch

2009-02-11 Thread Cees Hek
On Wed, Feb 11, 2009 at 5:45 AM, Lyle wrote: > Hi All, > I was just looking at this modules docs and I noticed it says:- > > It will translate a URI like this (under mod_perl): > > /app/module_name/run_mode > > or this (vanilla cgi) > > /app/index.cgi/module_name/run_mode > > I'm guess it mig

Re: [cgiapp] CGI::Application::Dispatch

2009-02-10 Thread Lyle
Michael Peters wrote: Lyle wrote: Which is way, way more SEO friendly. Really? A .html extension makes it easier for Google (the only one that really matters http://www.codinghorror.com/blog/archives/001224.html) to find it? What evidence do you have for that? It won't make it any more l

Re: [cgiapp] CGI::Application::Dispatch

2009-02-10 Thread Michael Peters
Lyle wrote: Which is way, way more SEO friendly. Really? A .html extension makes it easier for Google (the only one that really matters http://www.codinghorror.com/blog/archives/001224.html) to find it? What evidence do you have for that? If someone knows the Apache config to get this down

Re: [cgiapp] CGI::Application::Dispatch [post] runmode not working

2009-01-19 Thread Michael Peters
P Kishor wrote: CGI::Application::Dispatch->dispatch( prefix => '', default => '', debug => 1, table => [ '' => { app => $App, rm => 'view' }, 'find' => { app => $App, rm => 'find', }, 'view/:p?/:o?/:s?' => { app => $App,

Re: [cgiapp] CGI::Application::Dispatch help

2009-01-14 Thread fREW Schmidt
> That right there is kind of a red-flag. Not that you're doing anything wrong, > but Apache has a weird notion of PATH_INFO when a real directory exists. And > Dispatch relies on PATH_INFO for parsing. You can check what Apache thinks it > is by printing the $ENV{PATH_INFO} in your Dispatch.pm.

Re: [cgiapp] CGI::Application::Dispatch help

2009-01-14 Thread Michael Peters
fREW Schmidt wrote: I am a little confused about how CAD is supposed to work I guess. Let's see if we can help... First off, I have a directory, call it abc. That right there is kind of a red-flag. Not that you're doing anything wrong, but Apache has a weird notion of PATH_INFO when a rea

Re: [cgiapp] CGI::Application::Dispatch: Apache vs. IIS

2008-12-18 Thread Michael Peters
Jason A. Crome wrote: mpeters: If I sent you a CGI::Application::Dispatch::IIS subclass, could you (or Mark) incorporate it into the CA::Dispatch distribution? Or, if you don't want to mess with it and wouldn't mind another co-maintainer, I'd be happy to maintain this bit of it. I'd be happ

Re: [cgiapp] CGI::Application::Dispatch Install Issues

2008-03-13 Thread Bradley C Bailey
Ok, not instead of trying to use the toolchain to install Module::Build and then Apache::Test (if you answered yes at the prompt) I'm just going to be really dumb. If you have Apache::Test on your machine I will use it and run the mod_perl tests as well as the CGI ones. Else I won't. And since app

Re: [cgiapp] CGI::Application::Dispatch Install Issues

2008-03-10 Thread Todd Ross
Michael, > Ok, not instead of trying to use the toolchain to install Module:: > Build and then > Apache::Test (if you answered yes at the prompt) I'm just going to be really > dumb. If you have Apache::Test on your machine I will use it and run the > mod_perl tests as well as the CGI ones. Else I

Re: [cgiapp] CGI::Application::Dispatch Install Issues

2008-03-09 Thread Lee Carmichael
Hello Michael, >> [EMAIL PROTECTED]:~/perltemp/CGI-Application-Dispatch-2.12]> perl >> Makefile.PL >> This module can optionally use Apache::Test to test the mod_perl >> functionality. >> Undefined subroutine &ExtUtils::MakeMaker::prompt called at >> Makefile.PL >> l

Re: [cgiapp] CGI::Application::Dispatch Install Issues

2008-03-09 Thread Michael Peters
Michael Peters wrote: > Ok, not instead of trying to use the toolchain to install Module::Build and > then > Apache::Test (if you answered yes at the prompt) I'm just going to be really > dumb. If you have Apache::Test on your machine I will use it and run the > mod_perl tests as well as the CGI

Re: [cgiapp] CGI::Application::Dispatch Install Issues

2008-03-09 Thread Michael Peters
Michael Peters wrote: > I am trying to be smarter than the average Makefile.PL, but I just seem to be > getting more trouble then it's work at this point. I'll probably just go back > to > being dumb and not run the Apache/mod_perl tests unless the person already > have > Apache::Test installed.

Re: [cgiapp] CGI::Application::Dispatch Install Issues

2008-03-09 Thread Michael Peters
Todd Ross wrote: > [EMAIL PROTECTED]:~/perltemp/CGI-Application-Dispatch-2.12]> perl Makefile.PL > This module can optionally use Apache::Test to test the mod_perl > functionality. > Undefined subroutine &ExtUtils::MakeMaker::prompt called at Makefile.PL > line 31, line 547. I'm curious about

Re: [cgiapp] CGI::Application::Dispatch Install Issues

2008-03-09 Thread Lee Carmichael
Hello Todd, I had the same issues, see bug: http://rt.cpan.org/Public/Bug/Display.html?id=33498 I found that I needed to patch a Build.PL and Makefile.PL when Apache::Test wasn't installed. There are patches attached to the bug, give them a try. I'm pretty confident they will work (that p

Re: [cgiapp] CGI::Application::Dispatch Install Issues

2008-03-08 Thread Ron Savage
Hi Todd On Fri, 2008-03-07 at 09:34 -0600, Todd Ross wrote: > I've seen quite a few posts on this list concerning > CGI::Application::Dispatch. I'd like to try it out. Installing it, > however, seems to be a problem. Since there is no README or INSTALL > included in the archive, I'm followin

Re: [cgiapp] CGI::Application::Dispatch Install Issues

2008-03-07 Thread Mark Fuller
On Fri, Mar 7, 2008 at 8:34 AM, Todd Ross <[EMAIL PROTECTED]> wrote: > I've seen quite a few posts on this list concerning > CGI::Application::Dispatch. Was it Dispatch or Plugin::ActionDispatch? http://search.cpan.org/perldoc?CGI%3A%3AApplication%3A%3APlugin%3A%3AActionDispatch I know I mentio

Re: [cgiapp] CGI::Application::Dispatch implementation

2008-02-15 Thread Bruce McKenzie
Michael Peters wrote in an email message dated 2/15/2008 6:37 PM: Bruce McKenzie wrote: Thanks Michael. Any way I name it, I get a Not Found. That's becuase you didn't follow my advice :) See below. Well, I tried :-( So your module is called 'Notify'. If you notice in my last email I said

Re: [cgiapp] CGI::Application::Dispatch implementation

2008-02-15 Thread Michael Peters
Bruce McKenzie wrote: > Thanks Michael. Any way I name it, I get a Not Found. That's becuase you didn't follow my advice :) See below. > I tried this: > #!/usr/bin/perl > use strict; > use FindBin qw($Bin); > use lib "$Bin/../perl_lib"; # my standard lib > use lib "$Bin/Modules"; # lib

Re: [cgiapp] CGI::Application::Dispatch implementation

2008-02-15 Thread Bruce McKenzie
Michael Peters wrote in an email message dated 2/15/2008 5:00 PM: Is your module's package called "Modules::Notify" or just "Notify"? If it's the first then change your "use lib" line to: use lib $Bin; If it's the latter, then you don't need a prefix at all: CGI::Application::Dispatch->dis

Re: [cgiapp] CGI::Application::Dispatch implementation

2008-02-15 Thread Michael Peters
Bruce McKenzie wrote: > CGI::Application::Dispatch is a favorite plugin of many on this list, > and it used to be one of mine, but it stopped working in my setup at > version 2.x. Never figured out why, and I'm OK doing things the > old-fashioned way, but I thought I'd give it another shot. > > Su

Re: [cgiapp] CGI::Application::Dispatch, mod_perl and PATH_INFO question

2007-10-17 Thread Michael Peters
Simon Rees wrote: > Hello > > I'm using CGI::Application::Dispatch under mod_perl 2 to display all the > pages > on a site I'm working on and have had problems getting it to play nicely with > path_info as reported by Apache. > > What I would like to happen is: > Request: http://example.com/fo

Re: [cgiapp] CGI::Application::Dispatch prefix question

2007-10-10 Thread Michael Peters
Alexander Becker wrote: > I thought on using prefix => '' in the dispatch specific configuration, > but that only for additional prefixes, it doesn't alter the "global" > prefix (and that makes sense). Yeah, that's a bug in Dispatch. It should be able to work like that. Let me see if I can fix t

Re: [cgiapp] CGI::Application::Dispatch prefix question

2007-10-06 Thread Ron Savage
Alexander Becker wrote: Hi Alexander That works fine, as long as I write all modules my own. But today, I wanted to use the CGI::Application::Photogallery. That didn't work One way would be to sub-class that module, with a My:: prefix. Then, you could, perhaps, have that module know where t

Re: [cgiapp] CGI::Application::Dispatch and second level subdirectories

2007-06-14 Thread Simon Rees
> > On 6/13/07, Simon Rees <[EMAIL PROTECTED]> wrote: > > > > > > SetHandler perl-script > > > PerlHandler CGI::Application::Dispatch > > > PerlSetVar CGIAPP_DISPATCH_PREFIX Newforms::MembersCGIApp::Dispatch > > > PerlSetVar CGIAPP_DISPATCH_DEFAULT /public/front > > > PerlSetVar CGIAPP_

Re: [cgiapp] CGI::Application::Dispatch and second level subdirectories

2007-06-14 Thread Simon Rees
Hi Mike > On 6/13/07, Simon Rees <[EMAIL PROTECTED]> wrote: > > > > SetHandler perl-script > > PerlHandler CGI::Application::Dispatch > > PerlSetVar CGIAPP_DISPATCH_PREFIX Newforms::MembersCGIApp::Dispatch > > PerlSetVar CGIAPP_DISPATCH_DEFAULT /public/front > > PerlSetVar CGIAPP_DISPA

Re: [cgiapp] CGI::Application::Dispatch and second level subdirectories

2007-06-13 Thread Mike Friedman
On 6/13/07, Simon Rees <[EMAIL PROTECTED]> wrote: SetHandler perl-script PerlHandler CGI::Application::Dispatch PerlSetVar CGIAPP_DISPATCH_PREFIX Newforms::MembersCGIApp::Dispatch PerlSetVar CGIAPP_DISPATCH_DEFAULT /public/front PerlSetVar CGIAPP_DISPATCH_DEBUG 1 When I try to reque

Re: [cgiapp] CGI::Application::Dispatch

2007-01-15 Thread Michael Peters
Michael Peters wrote: > > Dan Horne wrote: > >> Just a side note - I >> initially attempted to run Makefile.PL (out of habit, I guess) and it failed >> due to the Apache::Test dependency. However, Build.PL worked fine and dandy > > Thanks for the catch. I've fixed this too and the final release

Re: [cgiapp] CGI::Application::Dispatch

2007-01-15 Thread Michael Peters
Dan Horne wrote: > From: Michael Peters > >> Then grab the latest dev version from CPAN - 2.10_02 >> (uploaded about 10 minutes >> ago) which should only use Apache::Test if you already have >> it installed and won't list it as a pre-req. It will also >> skip the mod_perl tests as well. >> >

RE: [cgiapp] CGI::Application::Dispatch

2007-01-13 Thread Dan Horne
From: Michael Peters > Then grab the latest dev version from CPAN - 2.10_02 > (uploaded about 10 minutes > ago) which should only use Apache::Test if you already have > it installed and won't list it as a pre-req. It will also > skip the mod_perl tests as well. > Hi Michael Thanks for your

RE: [cgiapp] CGI::Application::Dispatch

2007-01-11 Thread Dan Horne
> From: Michael Peters > > ... grab the latest dev version from CPAN - 2.10_02 > (uploaded about 10 minutes > ago) which should only use Apache::Test if you already have > it installed and won't list it as a pre-req. It will also > skip the mod_perl tests as well. > Thanks Michael I'll let yo

Re: [cgiapp] CGI::Application::Dispatch

2007-01-11 Thread Michael Peters
Dan Horne wrote: >> From: Michael Peters >> Dan Horne wrote: >> >>> I received the following message when running the tests: >>> [ error] You are using mod_perl response handlers [ error] but do >>> not have a mod_perl capable Apache. >> Someone in #cgiapp just reported the same thing. It work

RE: [cgiapp] CGI::Application::Dispatch

2007-01-11 Thread Dan Horne
> From: Michael Peters > Dan Horne wrote: > > > I received the following message when running the tests: > > > [ error] You are using mod_perl response handlers [ error] but do > > not have a mod_perl capable Apache. > > Someone in #cgiapp just reported the same thing. It works > fine for me

Re: [cgiapp] CGI::Application::Dispatch

2007-01-11 Thread Michael Peters
Dan Horne wrote: > I received the following message when running the tests: > [ error] You are using mod_perl response handlers > [ error] but do not have a mod_perl capable Apache. Someone in #cgiapp just reported the same thing. It works fine for me so I'm not sure of the exact issue. I di

RE: [cgiapp] CGI::Application::Dispatch

2007-01-11 Thread Dan Horne
> -Original Message- > From: Michael Peters > Sent: Friday, 12 January 2007 7:02 a.m. > I've received feedback from 1 other FCGI user who said it > solved his problem. Please try it out. The interface won't > change between the dev release the next public release, so > even if somet

Re: [cgiapp] CGI::Application::Dispatch

2007-01-11 Thread Michael Peters
Dan Horne wrote: > Hi > > I currently use CGI::Application::Dispatch v1 with FastCGI, and it works > very well for me. I'd like to start using v2 in order to take advantage of > the URL matching capability, but understand that there are URL caching > problems > (http://www.mail-archive.com/cgiap

Re: [cgiapp] CGI::Application::Dispatch ignore the rest.

2006-11-28 Thread Michael Peters
Shawn Sorichetti wrote: > I'm setting up a new application and finally using version 2.x of > CGI::Application::Dispatch. My dispatch table so far looks like this: > > table => [ > ':instance/app' => { app => 'Welcome', rm => 'welcome' }, > ':instance/app/module/:rm/:object' => { app =>

Re: [cgiapp] CGI::Application::Dispatch and FastCGI

2006-11-24 Thread Michael Peters
David Steinbrunner wrote: > In an effort to figure out more about the reasoning of the caching I started > looking over the docs more and found the PROTECTED METHODS section that > talks about the _get_cache and _set_cache methods. At that point I had the > bright idea of sub classing them so t

RE: [cgiapp] CGI::Application::Dispatch and FastCGI

2006-11-19 Thread Dan Horne
> From: David Steinbrunner > > Dan Horne wrote: > > > Hmm, I had a similar problem while back, where previous GET > and POST > > data would seem to reappear. Upgrading CGI (and hence > CGI::Fast) made > > it go away for me... > > The box I'm using was built recently and I made sure to > upd

Re: [cgiapp] CGI::Application::Dispatch and FastCGI

2006-11-19 Thread David Steinbrunner
Dan Horne wrote: > Hmm, I had a similar problem while back, where previous GET and POST data > would seem to reappear. Upgrading CGI (and hence CGI::Fast) made it go away > for me... The box I'm using was built recently and I made sure to update used modules, so that should not be an issue. Here

RE: [cgiapp] CGI::Application::Dispatch and FastCGI

2006-11-19 Thread Dan Horne
> From: David Steinbrunner On Behalf Of > David Steinbrunner > Sent: Saturday, 18 November 2006 11:54 a.m. > Subject: [cgiapp] CGI::Application::Dispatch and FastCGI > > Hello all, > > Has any one before me Mixed Dispatch and FastCGI? > > It seems that the query object is getting cached. To el

Re: [cgiapp] CGI::Application::Dispatch V 2.00_05

2006-05-03 Thread Michael Peters
Ron Savage wrote: > Hi Michael > > The Synopsis has a sub called args_to_dispatch but it should be dispatch_args. Thanks for catching that. It's fixed and will be in the next release (2.00) -- Michael Peters Developer Plus Three, LP --

Re: [cgiapp] CGI::Application::Dispatch V 2.00_03: Problems under WinXP

2006-02-10 Thread Michael Peters
Ron Savage wrote: > Hi Michael > > I installed V 1.04 without error. Then I installed Test::LongString. Then... > > (1) Command: perl Build test [snip] > waiting 60 seconds for server to start: > . > waiting 60 seconds for server to star

RE: [cgiapp] CGI::Application::Dispatch and Persistent Perl hangs

2005-11-04 Thread Dan Horne
> From: Michael Peters > Sent: Friday, 4 November 2005 2:47 a.m. > > I have never used Persistent Perl so I won't be much help there, but > here are some general suggestions: > + Do you know where it's hanging? Try putting in lots of debug stuff > to see if it's actually hanging in C::A::D or in

Re: [cgiapp] CGI::Application::Dispatch and Persistent Perl hangs

2005-11-03 Thread Michael Peters
Dan Horne wrote: > Hi > > I'm not sure if this is the correct place to raise this issue, but since > some on the list use C::A and Persistent Perl, maybe they can help (the PP > list seems dead). > > My problem is that over time, my instance script hangs when it uses > Persistent Perl - it may

Re: [cgiapp] CGI::Application::Dispatch::BuildURI module

2005-10-26 Thread Kensuke Kaneko
Hi Michael. > So, if I understand you correctly, there are 2 reasons for this module. > > 1 - When you use C::A::Dispatch you can have links that actually go to a > module/run_mode without explicitly specifying them because you can set > the default in the application. And these links don't look l

Re: [cgiapp] CGI::Application::Dispatch::BuildURI module

2005-10-24 Thread Michael Peters
Kensuke Kaneko wrote: > Hello, everyone! > > I made a module named CGI::Application::Dispatch::BuildURI. > This module resolve a relative URI path's problem when writing template > files. > > When I use CGI::Application::Dispatch, I often confused by relative > URI path difference. > For exam

Re: [cgiapp] CGI::Application::Dispatch V 1.03 under Win2K

2005-03-15 Thread Ron Savage
Hi Folks Thanx for the responses. Actually, I use registry scripts, but yes, the code will run under mod_perl, but not as a native mod_perl handler. Also, there was a problem with the version of Apache::Test, as discussed on the mod_perl mailing list a few weeks ago, to do with Randy Kobes' Perl

Re: [cgiapp] CGI::Application::Dispatch V 1.03 under Win2K

2005-03-14 Thread William McKee
On Fri, Mar 11, 2005 at 09:24:27AM -0500, Michael Peters wrote: > It seems like Apache::Test is not working on your installation. Looking > at the output from the test and you error log, it does not appear that > it even reaches the C::A::Dispatch portions of the test. FWIW, I've been using A::T

Re: [cgiapp] CGI::Application::Dispatch V 1.03 under Win2K

2005-03-11 Thread Michael Peters
Ron Savage wrote: Hi Michael This gets into an infinite loop: <-8><-> F:\perl-modules\CGI-Application-Dispatch-1.03>perl Build test f:\Perl\bin\perl.exe -I F:\perl-modules\CGI-Application-Dispatch-1.03\blib\lib -I F:\perl-modules\CG I-Application-Dispatch-1.03\blib\arch t\TEST -clean f:\Per