Do we know how that Perl library is implemented?
It is probably looking for CGI environment variables in a slightly
different way than I do things in TclHttpd. I'd love for someone to
dig into this and make sure we are compatible with Perl CGI scripts.

>>>Robert Withrow said:
 > 
 > [EMAIL PROTECTED] said:
 > :- Use the cgi-bin/test.cgi url as your target to make sure that the
 > :- environment comes through ok.  There could be bugs/differences in the
 > :- way that TclHttpd and Apache set up the environment variables. 
 > 
 > I did that and everything looks good.  In particular:
 > 
 >   REQUEST_URI    http://www.xxx.com/cgi-bin/test.cgi
 > 
 > I've narrowed this down to the Perl CGI library.  Here is a
 > test CGI:
 > 
 >   #!/usr/local/bin/perl
 > 
 >   use CGI qw/:standard/;
 > 
 >   $cgi = new CGI;
 >   $cgiUrl = $cgi->url();
 > 
 >   print header;
 >   print start_html('CGI->url bug demo');
 >   print h2("CGI version: ".$CGI::VERSION);
 >   print h2("CGI->url(): ".$cgiUrl);
 >   print end_html;
 > 
 > On tclhttpd I get:
 > 
 >   CGI version: 2.56
 >   CGI->url(): http://www.xxx.comhttp://www.xxx.com/cgi-bin/cgitest.cgi
 > 
 > On Apache I get:
 > 
 >   CGI version: 2.56
 >   CGI->url(): http://www.xxx.com/bcc/cgi-bin/cgitest.cgi
 > 
 > Any ideas why?  Is is just me?
 > -- 
 > Robert Withrow -- (+1 978 288 8256)
 > [EMAIL PROTECTED]
 > 

--      Brent Welch     <[EMAIL PROTECTED]>
        http://www.ajubasolutions.com
        Scriptics changes to Ajuba Solutions
        scriptics.com => ajubasolutions.com


Reply via email to