advertisement

Article:
  Apache Web Serving with Jaguar, Part 2
Subject:   Gleefully served
Date:   2004-02-07 12:51:07
From:   ecleo
Response to: Gleefully served

I did this tutorial 5 months ago with no problems and having fogotten everything but remembering I liked the tutorial, I tried it again. This time I got stuck at the now popular cgi script point. I figured out what when wrong and felt obliged to add yet a few more suggestions to the arsenal of possible fixes.


If you get the Gleefully served message in your browser but but an error on the CGI test script check the index.shtml file for syntax and the correct path:
<!--#include virtal="/cgi-bin/test-cgi"-->
(I had something like <!--#include virtual="/Library/WebServer/Documents/cgi-bin/test-cgi"-->) jeez.


If your browser can't find the file be sure that you saved the index.shtml file the right place: /Library/WebServer/Documents/index.shtml (one time I clouded over and saved it in Sites)
Also check that you are calling the page in the browser with http://127.0.0.1/index.shtml (not 127.0.0.1/Sites/index.shtml)