perl script giving error

Hello,
We have a new customer that is trying to run a perl script that ran fine at his old hosting company. He chose a windows plan. He is getting the following error:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

He has tried all kinds of permutations of paths.
Tech support here said this would work #!/usr/local/bin/perl
then they said try c:\bin\perl.

Here is what the enduser wrote last...

I think that the problem may be because this is a windows setup and has different requirements than Linux. Unfortunately I don't know what the different requirements are.

It is possible that since the resume directory is not actually mentioned in the script that we may have to have a different subdirectory for resume search and job search. Linux picked up the fact that the acceptit1 directory had multiple subdirectories and reacted to the directory that did the posting. - Even if it was from a different directory all together.

It's possible that either the windows platform is not that smart or it may have security features that disallow it.

I'm going to try to do another subdirectory in the cgi-bin so that it only points to one subdirectory and see what happens.

Any ideas would be appreciated.
 
Maybe moving to linux is best, sometimes perl is not 100% cross platform, while most parts of it are some commercial apps have unix specific code. Another option may be to offer them a subdomain on linux, while the main domain is on windows, if that is something they would be interested in.
 
It is not something supported by the control panel. I'd recommend testing on a linux account these perl scripts before taking a whole plunge to unix side.
 
Back
Top