Try this.
Open TextEdit/BBEdit/Emacs/whatever and paste in the following:
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>#!/usr/bin/perl
print <font color = red>"Content-type: text/html\n\n"</font>;
print <font color = red>"<!doctype html <font color = green>public</font> \"</font>-<font color = brown>//W3C/DTD HTML <font color = blue>4.0</font>/EN\<font color = red>">\n"</font>;</font>
print <font color = red>"<html>\n"</font>;
print <font color = red>"<title>testing</title>\n"</font>;
print <font color = red>"<body>\n"</font>;
print <font color = red>"<h3>testing</h3>\n"</font>;
print <font color = red>"</body>"</font>;
print <font color = red>"</html>"</font>;
exit <font color = blue>0</font>;</font>[/code]
Now put it in <font face = "courier">/Library/WebServer/CGI-Executables/</font> and call it test.pl. test.cgi will work as well.
Now change the permissions on the file:
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>[localhost:/Library/WebServer/CGI-Executables] username% chmod <font color = blue>755</font> test.pl</font>[/code]
Now open your web browser and go to
http://localhost/cgi-bin/test.pl (or test.cgi if you called it that).
If that doesn't work, then
stop using internal developer builds and get the GM and install the Developer Tools like a normal person..
[ 08-25-2001: Message edited by: gorgonzola ]