I have seen that on the resellers interface as well as our own local
systems.
A simple fix, without rewriting code is to switch to CGI.pm.
Basically just switching to CGI.pm (with cgi-lib emulation turned on) does
the trick. Just comment out the cgi-lib.pl line in each script, and add a
line to use CGI.pm. It looks like this:
#do "$PATH_LIB/cgi-lib.pl";
use CGI qw(:cgi-lib);
Of course you need CGI.pm installed, but I believe it has been included with
Perl for a very long time now... I wish the OpenSRS folks would have coded
with CGI.pm from the beginning since it was the defacto standard when they
started writing the OpenSRS code. Switching completely to CGI.pm (without
cgi-lib emulation) would take a bit of work in revamping the scripts.
Hopefully they will see the light and do this for the next release...
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Chalmers
> Sent: Saturday, September 09, 2000 8:22 PM
> To: opensrs-discuss
> Subject: Probably a simple answer but.. cgi-lib.pl: Unknown
> Content-type: application/x-www-form-urlencoded
>
>
> If I try to access the https server, calling the cgi from the web
> page form
> (as per normal) I get this first returned,
>
> Content-type: text/html
> cgi-lib.pl: Unknown Content-type: application/x-www-form-urlencoded,
> application/x-www-form-urlencoded
> cgi-lib.pl: Unknown Content-type: application/x-www-form-urlencoded,
> application/x-www-form-urlencoded
>
> If I just do a refresh, it goes away, and the cgi loads
> correctly. I'm sure
> I had this fixed onece, but can't find a solution now???
> If I just make the call to http (not to https) everything works fine.
>
> I'm running the lates Apache on FreeBSD, and even have the latest
> cgi-lib.pl
>
> Can some kind soul offer a soulution please?
>
>
> I'm also getting told by countless people on the groups, that
> cgi-lib.pl is
> not the way to go, that indeed we should be using CGI.pm ?
> comments anyone?
>
> thanks for any help, this is really frustrating.
>
> Robert
>