On Tue, 14 Feb 2006 02:07:51 +0100, Rhesa Rozendaal wrote: Hi Rhesa
> Just out of curiosity, wouldn't it be better to test with exists()? Yes. Module authors take note! > I did a quick test using env.pl, which confirms that for me as > well, the PATH_INFO variable exists only if there actually is > something in the url. That is: > > http://foo/bar.pl -> no PATH_INFO exists in %ENV > http://foo/bar.pl/ -> PATH_INFO = / Confirmed here. > This holds both under mod_perl (with ModPerl::Registry) and under > mod_cgi. My Apache is 2.0.52. V 2.0.54 here, although not using ModPerl::Registry in httpd.con. But I doubt that matters at this point. > As an aside, I have distant memories of IIS/5.0 not being able to > do path_info at all, at least not without certain arcane rituals > too gross to detail here. Yes, but I have another vague memory that that's been fixed. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
