> The problem is: this programs work in the machine of everyone testing it. So
> I can imagine the problem is due a Pascal code. It is necessarily due to
> another fact.
If the issue is the "exec format error", the question would be if/how
you run it outside of a CGI on the affected machine. This
Yes, I was able to understand this log if the same files shouldn't have
run in the machine of a friend. In this case, certainly, it would have
an error in Pascal code. I could ask in a Pascal list and someone could
recognise the error.
The problem is: this programs work in the machine of every
> Well, in Pascal, it's not possible since it was compiled.
The log says apache is confused about the file alone
The other issue I see is that your script don't output http headers - they
should send at least "Content-Type" header.
If I understood, you are questioning that in the first line of my codes,
I dont't have a line like:
#!/usr/bin/env lua
#!/usr/bin/env python
Well, in Pascal, it's not possible since it was compiled.
My english is really not very well, so I can have understood wrongly.
If I understood, y
> sudo chmod +x file
Shouldn't you add interpreter line as well?
#!/bin/interpreter
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsub
Hello listers,
This is my first message. I am trying to walk the first steps in web
development, so I am pleased to enter in Apache's world.
I have two test CGI programs writen in Pascal. The first one writes some
input using "writeln". The second one uses specific CGI classes. The
first run