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

Fwd: Re: [cgiapp] Q: CGI::Application::Dispatch V 2.00_03


Hi Michael

> (3)
> Line 168:
> unless(defined $ENV{PATH_INFO}) {
> croak "reality checked failed: PATH_INFO is not defined in the
> environment"; }

I wrote a tiny CGI script containing:

my($env_path_info)	= defined($ENV{'PATH_INFO'}) ? "Defined: $ENV{'PATH_INFO'}"	:
"Not defined";

and that displays Not Defined. Again, this is Apache V 2.

So it seems your assumption that path_info is always defined, is wrong, at least
in the case of non-mod_perl handlers.
--
Ron Savage
suppressed
http://savage.net.au/index.html



---------------------------------------------------------------------
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.