[users@httpd] Getting Apache Portable
Hello all, Does someone know hwere to find the Win32 binaries for Apache Portable? Having visited Apache website, I could find only sources to compile. However, I don't understand anything about C compilations. The path seems to be complicated. If this is not true, I am sorry. I am blind and I use screen readers. Sometimes, I am near from the desired search, but not passing exactly on the information, screen reader could not read. If someone has a more direct link, I thnk you very much! Regards, Luciano - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Calling a page when not using the port 80
Hello listers, Two programs have been used the port 80. So I decide to move Apache to . When I do: http://localhost:, I am sucessful. In other words, the expected page is shown. However, I got an error when doing: http://localhost/cgi-bin/test.cgi: So I ask: what's the correct way to call a page if the port is not the standard 80? Luciano - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] A CGI test program with a misterious error
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 everyone testing it. So I can imagine the problem is due a Pascal code. It is necessarily due to another fact. Em 19-10-2011 11:49, Marcin 'Rambo' Roguski escreveu: 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. - The official User-To-User support forum of the Apache HTTP Server Project. Seehttp://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] A CGI test program with a misterious error
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, 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. Em 19-10-2011 11:37, Marcin 'Rambo' Roguski escreveu: 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. Seehttp://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] A CGI test program with a misterious error
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 runs, the second doesn't. The natural conclusion would be: "Luciano, you are in the wrong list. The problem is in your Pascal code, not in Apache". This truth would seem logical if the error was produced in other machines. Yes, the first example runs in other machines; the second doesn't run only in mine. Permissions? the problem can be lack of permissions in CGI folder. No, for each file in /usr/lib/cgi-bin, I did: sudo chmod +x file Apache is configured because the first example runs. All the files in cgi-bin has enough permission to be executed. There's no error in Pascal code because both examples run in other machine. In browser, I have always the error 500: Internal exception server. In Apache's log, I have: [Tue Oct 18 15:50:36 2011] [error] (8)Exec format error: exec of '/usr/lib/cgi-bin/test3' failed [Tue Oct 18 15:50:36 2011] [error] [client 127.0.0.1] Premature end of script headers: test3 Does someone have any idea what it can be done or witch is the nature of the problem? Luciano cgi1.tar.gz Description: GNU Zip compressed data cgi2.tar.gz Description: GNU Zip compressed data - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org