If some of the lines above have been word wrapped; they must not be wrapped when you save them.

If you've hand-typed this, and it's not working, pay particular attention to the characters following the “sed” commands. Also, make sure that there are exactly TWO blank lines between Content-type: text/plain and the line with the exclamation point.

I don't understand why for 0.2.7 the script is placed in the “public” CGI directory and for 0.3.x it's placed in the “web control panel” CGI directory?! If the directories /www/cgi (public) or /wwa/cgi (web control panel) were used, this howto would be generic for both FREESCO versions. The choice to place the script in either the public or web control panel CGI directory is a matter of security.