Small Note About CGI on OS X

Dan Shafer revdan at danshafer.com
Fri May 20 18:08:29 EDT 2005


I'm not 100% sure when this happened, but somewhere along the line  
(or so my Unix sysadmin friend tells me), Apple changed the  
configuration on Apache on OS X so that HTML files stored in the cgi- 
bin directory (aka "CGI Executables") will not be served  but will  
instead generate an "internal server error."

Now, the idea of storing non-executable files in the cgi-bin  
directory isn't smart to begin with, but I had a client who had done  
this early on and things worked OK until he upgraded to Tiger. (He'd  
skipped one or two upgrades in between, which is why we're not sure  
exactly when this happened.)

Anyway, don't do that. HTML and other non-executable files belong in  
the main (root) or document root directory on the Web server, not in  
the cgi-bin directory.

I now return you to your regularly scheduled and far more interesting  
programming.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest



More information about the use-livecode mailing list