Hello everyone,
I've recently started developing applications on a Mac OS X, and one of them is 
a migration from a C++ CGI written for MS Windows. Porting it has been more or 
less fine, but I'm stuck with actually executing my program as a CGI. All I 
have managed to do is download my binary image several times.
Unfortunately, I am new to Mac OS / POSIX / Apache development, although I have 
a fair knowledge of similar concepts on MS Windows running IIS.
So far, what I have done is:1) Write a small application that outputs "HTTP/1.0 
200 OK\r\nContent-type: text/plain\r\nContent-length: 33\r\n\r\nProbando un CGI 
superchorra" (which is Spanish for, more or less, "testing a really silly CGI") 
to the standard output.2) Build it and place the executable file in 
"/Library/WebServer/CGI-Executables"3) Attempt to access the file via 
http://localhost/cgi-bin/testcgi.cgi
After spending a few hours trying different things I've read in different 
places, without really knowing what I was doing, I have managed to either 
download a binary image of the file, or get an HTTP 500 error, but I don't even 
know where to look for the log files in order to try to analize the cause.
Would anyone be so kind as to explain to me what steps I need to take in order 
to enable CGIs on a specific user folder, taking into account Apple's efforts 
in hiding all configuration files and such from me?
Thanks for the time taken to read this, and for whatever time you might take in 
trying to help me.
Best regards,
Diego                                     
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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

Reply via email to