Rhesa Rozendaal wrote: > Just out of curiosity, wouldn't it be better to test with exists()? > > 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 = / > > This holds both under mod_perl (with ModPerl::Registry) and under > mod_cgi. My Apache is 2.0.52.
Thanks Rhesa and Ron for catching this. I'll be making a fix shortly and you'll see it in the next dev release. -- Michael Peters Developer Plus Three, LP --------------------------------------------------------------------- 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]
