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

[MacPerl] CGI "additional path information" (off-topic)



This past week I had some free time, so I started going through back 
issues of TPJ and using MacPerl (v5.1.5r4) to play with new things. One 
of the new things I played with was CGI. I downloaded QuidProQuo, fired 
it up along with MacWeb 1.1.1E (The 20M of memory on my IIfx isn't quite 
enough even with RamDoubler2 to use Netscape along with the other things 
I needed. Even with MacWeb I managed to catch up on quite a bit of 
reading while waiting for results.) and started working my way from the 
beginning.

Everything went well (slowly, but well) through the stuff in the Spring 
1996 issue, but when I got to the article in the next issue ("Saving 
State with CGI.pm") I ran into a problem. The technique used in the 
article requires using the "additional path information" part of the URL 
(between the name of the CGI script and the query string), and QPQ didn't 
recognize it. It took me quite a while to convince myself that it was in 
fact QPQ and neither the script nor MacPerl that had the problem. So I 
downloaded NetPresenz and gave that a try. Same result. Started looking 
at the CGI.pm module to see what I could learn about "path_info()" and 
found in the pod (Whoops! Always forget to RTFM.) the following note:

		"NOTE: The Microsoft Internet Information Server is broken with respect 
to additional path information.  If you use the Perl DLL library, the IIS 
server will attempt to execute the additional path information as a Perl 
script. ..."

That's exactly what I saw with both QuidProQuo and NetPresenz. I tried 
once more with MacHTTP 2.2, and again got the same result.

It's hard for me to believe that all of the Mac Web servers are "broken 
with respect to additional path information"; am I missing something? Has 
anyone ever successfully used additional path information with CGI.pm and 
MacPerl with QPQ, NetPresenz or MacHTTP?

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch