Link to home
Start Free TrialLog in
Avatar of budgin
budgin

asked on

Reads only parts of the code instead of the program

When I moved my cgi files to another server, instead of running the program correctly, they just show part of the code. It looks like it is just reading html. Is there a server configuration which I need to tell the ISP about?
Avatar of mgoergen
mgoergen

Which system do they use?

Perhaps you have just rename your scripts?
From xxx.cgi to xxx.pl or the other way round.

Are you sure that it allowed to use perl?
also make sure the perl declaration at the top of the script is still pointing to where perl is
ie #!/usr/local/bin/perl instead of #!/usr/bin/perl etc...
ASKER CERTIFIED SOLUTION
Avatar of powerinternet
powerinternet

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of budgin

ASKER

It was (i). You mean you don't have to chmod on NT