Women in Technology

Hear us Roar

  Apache Web-Serving with Mac OS X: Part 2
Subject:   http-conf problems
Date:   2002-12-23 12:11:35
From:   sweyhrich
I worked my way through the article about setting up Apache on Mac OS X to run CGI files. The place that involves running the "test.cgi" file had different results on my system. Rather than a 403 error, I got a 404, file not found error. I changed the permissions of that file to 755, and still had the same results. The error message obtained by using the "tail" command on error_log returned this line:

[error] [client] script not found or unable to stat: /Library/WebServer/CGI-Executables/test.cgi

The end of the access_log reads: - - [23/Dec/2002:13:51:31 -0600] "GET /cgi-bin/test.cgi HTTP/1.1" 404 290

I can't really morve forward on this excellent tutorial until I get past this problem. The settings that are supposed to be in the http-conf file (discussed earlier in the article) match what is supposed to be present.


Steven Weyhrich

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • http-conf problems
    2003-03-28 01:31:13  anonymous2 [View]

    you must enter test-cgi NOT test.cgi
    strange but true.
    • http-conf problems (I Stuffed Up Big Time)
      2005-04-13 05:03:36  Lindz [View]

      I just have a major problem doing this whole thing!

      Firstly, before I started this tutorial I could go to and I could view the default page index.html page.

      When I started this tutorial and typed the above address in I get an error

      "The page cannot be found
      The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

      Please try the following:

      Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.

      If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.

      Click the Back button to try another link.

      HTTP Error 404 - File or directory not found.
      Internet Information Services (IIS)"

      Then I left that the way it is and carried on with the tutorial, and found that I do not have CGI File in the CGI-Executales folder!!!

      And doing the tutorial part 2 first page I get this error message

      [Wed Apr 13 13:37:51 2005] [error] [client] script not found or unable to stat: /Library/WebServer/CGI-Executables/test-cgi

      Please help me fix this mess!