Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Making OS X Server accept POSTs from CGIs OS X Server
This tip applies only to Mac OS X Server versions 10.0.3 or 10.0.4. It does not affect the consumer OS X release.

There's a bug in the Server release which prevents the Apache web server from receiving any data sent via a CGI using the HTTP POST method of data submission. Since nearly all web-based forms use a POST submission method, this is a fairly major glitch.

Apple has published a TIL article that details a surprisingly easy workaround - you need to start and stop the Apache webserver from the terminal, not with the GUI tool. Use sudo apachectl start and sudo apachectl stop from the terminal, and disable the automatic launch of the webserver in the Server Admin GUI.

I'm assuming Apple will squash this one in 10.1, but for now, at least they've posted a solution.
  Post a comment  •  Comments (1)  
  • Currently 1.38 / 5
  You rated: 1 / 5 (8 votes cast)
 
[2,749 views] Email Article To a Friend View Printable Version
OS X Server - Error with POST and CGIs? OS X Server
An contributor pointed me to a discussion on the Apple Discussion boards concering POST and CGI's on OS X Server. It appears that when the POST method is used on a web page, the contents of the variables that are "posted" are not sent to the CGI. Since the CGI is expecting input and receives none, it will not work correclty.

Check out the discussion if you're having trouble with POST functions and OS X Server...as of now, there are no solutions listed, but there is active conversation on the topic.
  Post a comment  •  Comments (0)  
  • Currently 1.75 / 5
  You rated: 2 / 5 (8 votes cast)
 
[2,175 views] Email Article To a Friend View Printable Version