Women in Technology

Hear us Roar

  Apache Web-Serving with Mac OS X: Part 2
Subject:   My cgi's don't work!
Date:   2002-02-01 07:08:58
From:   morbus
Response to: My cgi's don't work!

haymaker, your best bet is to start looking around for CGI FAQs, and "common things that can go wrong". Your Apache CGI configuration is working correctly, since the test-cgi runs correctly. In this case, file extensions don't matter. You're probably running into one of the problems I described in my previous post.

A quick way to test if a script has the right line encoding, for example, is to open the script up in the terminal, and see what you see. If you do:

less filename.cgi

And see everything on one line, or else a lot of ^M's all over the place, then you've got incorrect line feeds that will need to be converted to Unix ones.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • My cgi's don't work!
    2002-02-01 09:12:24  haymaker [View]

    Thnaks for your help. And thanks for the series! This is the best OS X related information I've found!