"Michael D. Schleif" wrote:
>
> I am having problems with CGI.pm on a webserver. path_info() and
> path_translated() do *not* ``Return[s] additional path information ...''
> separate from the calling CGI ?!?!
>
> uname -a
> Linux dante.tera-byte.com 2.2.14C11 #2 Wed Jun 28 00:55:51 PDT
> 2000 i586 unknown
>
> perl -v
> ... This is perl, version 5.005_03 built for i386-linux ...
>
> perl -MCGI -e 'print "CGI.pm version $CGI::VERSION\n";'
> CGI.pm version 2.56
>
> Calling this:
> http://www.myweb.com/tmp/test.cgi/tmp/pictures
>
> Results in this output:
>
> _x_/home/sites/site99/web/tmp/test.cgi_x_
>
> _x_/tmp/test.cgi/tmp/pictures_x_
>
> For this cgi:
>
> #!/usr/bin/perl -w
> use CGI qw/:standard/;
> print header,
> start_html;
> print '_x_', path_translated(), '_x_', "\n";
> print p;
> print '_x_', path_info(), '_x_', "\n";
> print end_html;
> exit 0;
>
> What am I doing wrong???
Try this and see what is really in your ENV:
#!/usr/bin/perl -w
print "Content-Type: text/plain\n\n";
foreach (sort keys %ENV) { print "$_=$ENV{$_}\n"; }
__END__
What server are you using?
--
,-/- __ _ _ $Bill Luebkert ICQ=14439852
(_/ / ) // // DBE Collectibles http://www.wgn.net/~dbe/
/ ) /--< o // // Mailto:[EMAIL PROTECTED] http://dbecoll.webjump.com/
-/-' /___/_<_</_</_ http://www.freeyellow.com/members/dbecoll/
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web