[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] problem with PATH_INFO not being recognized


punkish wrote:
On Thu, 09 Dec 2004 09:34:49 -0500, Michael Peters
<suppressed> wrote:

punkish wrote:


     $self->mode_param(path_info => 1);

the PATH_INFO is not being handled correctly as the run_mode keeps on
defaulting to 'welcome' no matter what path_info I provide after
index.cgi. Even if it is ..index.cgi/login or ..index.cgi/about, I see
only 'welcome' almost as if no path_info was provided.

This is a fairly new edition to the C::A world. What version are you
running? I think it is only available in the latests (3.31). If that's a
issue, like someone else pointed out, you can use C::A::Dispatch (which
you might want to do anyway :) or upgrade C::A.


I am using 3.31. Thanks, but I will pass on C-A-D for now. I got
around by just doing a

my $rm = $ENV{PATH_INFO}

It is supposed to work the way you tried it though right? I think we need to track this down and find out why it doesn't work as documented. Anyone have any other ideas?

--
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.