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?
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...
ie #!/usr/local/bin/perl instead of #!/usr/bin/perl etc...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It was (i). You mean you don't have to chmod on NT
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?