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???
--
Best Regards,
mds
mds resource
888.250.3987
"Dare to fix things before they break . . . "
"Our capacity for understanding is inversely proportional to how much we
think we know. The more I know, the more I know I don't know . . . "
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web