Hi,
I have a small irie pascal compiler which produces some easy to use files for interacing with mysql and html files.
The compiler gives me the choice of compiling the output to as ".exe" (For windows only) or as ".cgi" or ".ivm" files. The latter two files needs to be used in conjunction with an "IVM" file in order to allow them to be server independent (i.e they can be run on a Unix server)
I compiled a simple "hello world" test program which runs very well on an Apache Server (Windows) and have tested it with all 3 file extensions (no problems). I just dropped the "IVM" file into the cgi-bin along with the compiled program, and it worked ok.
However, I have been trying the same thing on a Unix Server with the ".cgi" & ".ivm" files, but without success. The server simply respondes with the dreaded server error 500. The log file gives no additional details.
The compiler has an option for the "#!" header and I have tried entering the full pathname and several variations i.e. #!/cgi-bin/ivm and #!www.website.com/cgi-bin/ivm ,etc, but to no avail.
The web host assures me that that the cgi-bin allows non-perl scripts to be run also.
I am running out of ideas as to what the problem could be.
Any ideas ?
Many thanks,
Pete




