summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/cgi.html
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-04-22 21:50:33 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-04-22 21:50:33 (GMT)
commit2f2c5f6471b311a3cbe676d022a3b1ee63e470d8 (patch)
tree3cd6625ff1ebaada514c687a96999f8488b8a731 /Mac/Demo/cgi.html
parent968cde98fcac0ca911bc39e3b1d2c2945a8d0447 (diff)
downloadcpython-2f2c5f6471b311a3cbe676d022a3b1ee63e470d8.zip
cpython-2f2c5f6471b311a3cbe676d022a3b1ee63e470d8.tar.gz
cpython-2f2c5f6471b311a3cbe676d022a3b1ee63e470d8.tar.bz2
Added a note about Personal Webserver, and replaced "netpresenz" by a list of the current mac webservers.
Diffstat (limited to 'Mac/Demo/cgi.html')
-rw-r--r--Mac/Demo/cgi.html14
1 files changed, 11 insertions, 3 deletions
diff --git a/Mac/Demo/cgi.html b/Mac/Demo/cgi.html
index fe283f8..01ea85e 100644
--- a/Mac/Demo/cgi.html
+++ b/Mac/Demo/cgi.html
@@ -4,7 +4,7 @@
<HR>
In this document we will (eventually) explain how to create Python CGI scripts
-for use with NetPresenz and probably other Mac-based HTTP servers too.
+for use with Personal WebServer, WebStar and probably other Mac-based HTTP servers too.
Since CGI scripts are AppleEvent servers on the mac we will also learn
a little about general AppleEvent server programming and about applet
debugging. <p>
@@ -44,7 +44,8 @@ drag a file onto the interpreter the script will tell you what event it got. <p>
<h2>A Minimal CGI script</h2>
-To try a CGI script you will first need a http server. I have used the
+To try a CGI script you will first need a http server. Apple's Personal Webserver
+is fine, but I have also used the
shareware
<a href="http://www.stairways.com/netpresenz/">NetPresenz</a>
by Peter Lewis
@@ -78,5 +79,12 @@ http://www.biap.com/datapig/mrwheat/cgi_params.html</a>. <p>
To test the script drop <code>cgitest.cgi.py</code> onto <code>mkapplet</code>,
move the resulting <code>cgitest.cgi</code> to somewhere where it is reachable
-by NetPresenz, and point your web browser towards it.
+by NetPresenz, and point your web browser towards it. Note that this assume you have
+already renamed realcgitest.py to cgitest.cgi.py, otherwise you'll also have
+to copy that file along. <p>
+
+For Apple's Personal Webserver you need to do a bit more: you have to copy the
+cgi applet to somewhere in your "Webpages" folder and you have to tell the webserver
+(in the control panels) that your CGI script exists. I don't understand what the various
+types of cgi scripts mean, but experiment with them.
</BODY></HTML>