<HTML><!--This file created 8/11/98 11:43 PM by Claris Home Page version 3.0--><HEAD> <META NAME="GENERATOR" CONTENT="Adobe PageMill 2.0 Mac"> <TITLE>Installing nHTTPd</TITLE> <X-CLARIS-WINDOW TOP=114 BOTTOM=480 LEFT=16 RIGHT=546> <X-CLARIS-TAGVIEW MODE=minimal></HEAD><BODY BGCOLOR="#66cc99"><P><CENTER><FONT FACE="Helvetica"><TABLE BORDER="0" CELLPADDING="6" WIDTH="90%" CELLSPACING="2"><TR><TD WIDTH="100%" BGCOLOR="#eeeeee"><H1><FONT FACE="Helvetica">THE BASICS:</FONT></H1><H2><FONT FACE="Helvetica">Getting Started:</FONT></H2><OL> <LI><FONT FACE="Helvetica">Install <B>nHTTPd </B>and <B>nHTTPd Setup</B> using your favorite package installer.</FONT> <LI><FONT FACE="Helvetica"><IMG SRC="image/nhttpd1.gif" ALIGN="RIGHT">Establish a TCP/IP connection* with nHHTPd by opening the application and tapping the 'Start' button. The Close box will dis-appear.<BR> </FONT><FONT SIZE="-1" FACE="Helvetica" COLOR="#0000CC"><I>*Requires properly configured Newton Internet Enabler</I></FONT> <LI><FONT FACE="Helvetica">The current IP of your machine will be displayed beneath the Start/Stop buttons. This will be machine name for the URL you will enter in the WWW Client that will access your server.</FONT> <LI><FONT FACE="Helvetica">When a page is requested, the hit counter will increment.</FONT> <LI><FONT FACE="Helvetica">After a page is served, </FONT><FONT FACE="Helvetica" COLOR="#0000FF">the URL path </FONT><FONT FACE="Helvetica">will appear in the monitor window. If there is a HTTP error, that error will show up in this window.</FONT> <LI><FONT FACE="Helvetica">It is not suggested for beginning users to use any other TCP/IP applications (Eudora, Nethopper, etc) while running this server, as they can corrupt its connection, likely leading to a reset of your Newton device.</FONT> <LI><FONT FACE="Helvetica">When you ar ready to quit, Tap the 'Stop' button and wait for the connection to terminate. </FONT> <LI><FONT FACE="Helvetica">The Close Box will re-appear and you can close nHTTPd.</FONT></OL><H2><FONT FACE="Helvetica">Advanced Topics:</FONT></H2><H3><FONT FACE="Helvetica">The Iconify Button:</FONT></H3><P><FONT FACE="Helvetica">As much as I have tried to strip down the sizeof nHTTPd, let's face it. It take sup room. On a MP130, it's a veritablehog. So, I added the <B>NS</B> button which hides the active server andcreates an Auxillary button in your background application. When you maximizethe app, the button disappears. If your background application does notsupport Auxillary buttons, nHTTPd will disappear but will still remain active.You may re-show it by tapping on its icon in the Extras drawer.</FONT></P><H3><FONT FACE="Helvetica">Using nHTTPd Setup</FONT></H3><P><FONT FACE="Helvetica">Under the <B>Info </B>Button, you'll find a <B>Prefs</B>slot. Tap it and <B>nHTTPd Setup</B> (if installed) will appear on yourscreen.</FONT></P><P><IMG SRC="image/config.gif" WIDTH="239" HEIGHT="244" ALIGN="RIGHT" NATURALSIZEFLAG="3"><FONT FACE="Helvetica"><B>Show Slip:</B> This gives you the option toturn on and off the Connect slip that comes up when you Start a nHTTPd connection.By turning the slip off, you automatically select the last connection settingsyou used.</FONT></P><OL> <LI><FONT FACE="Helvetica"><B>Hit Sound:</B> Turn this on if you want to hear a tap every time someone acceses your site. It's a fairly benign sound, so I usually leave it on.</FONT> <LI><FONT FACE="Helvetica"><B>Allow SSI:</B> If you are sure you'll never need them, you can turn off Server Side Includes for a slight speed increase as your server will no longer have to look for them before serving up data. Don't know what Server Side Includes Are? It's covered later. Leave it checked if this is the first time you've set up Personal Data Sharing.</FONT> <LI><FONT FACE="Helvetica"><B>Reset Counter</B>: Sets your Hit Counter to Zero. Don't do it unless you mean it because there is no warning besides this one that it's irreversible!</FONT> <LI><FONT FACE="Helvetica"><B>Edit MOTD</B>: You can set a Message of the Day for nHTTPd accessible via a SSI tag. Big time system admins use MOTD's and so can you!</FONT> <LI><FONT FACE="Helvetica"><B>MIME Character Set</B>: You can choose the character set in which your data is displayed. Selecting "None" will turn this off altogether.</FONT> <LI><FONT FACE="Helvetica"><B>Color:</B> You can select the background color in which your generated pages are presented. This value is also accessible via a SSI. You may select any of the standard Win VGA colors provided or write in your own HEX code.<BR> </FONT><FONT SIZE="-1" FACE="Helvetica" COLOR="#0066FF">HEX Code?</FONT><FONT SIZE="-1" FACE="Helvetica"> Unless it's a named color, browsers need a 6 digit code in hexadecimal to know what color you're talking about.<BR> An example: The green used on this page is "#66CC99"</FONT> <LI><FONT FACE="Helvetica"><B>Font:</B> You may select a default font for your pages. A survey of installed fonts found the ones provided here to be most common. This value is accessible via a SSI tag.</FONT> <LI><FONT FACE="Helvetica"><B>Font Size:</B> Text is rendered according to a relative scale by most web browsers where SIZE=1 is smallest and SIZE=7 is largest. You may select a default font size for your generated documents using this picker. It is also accesible via a SSI.</FONT> <LI><FONT FACE="Helvetica"><B>Setup Help: </B>In this window is a hint about what each widget in Setups GUI does. Tap any widget and its function is displayed here :-)</FONT></OL></TD></TR></TABLE></FONT></CENTER></P><P><CENTER><FONT FACE="Helvetica">| </FONT><A HREF="start.html"><FONT FACE="Helvetica">Back</FONT></A><FONT FACE="Helvetica">| </FONT><A HREF="howto.html"><FONT FACE="Helvetica">Next: Installing DataTranslators</FONT></A><FONT FACE="Helvetica"> |</FONT></CENTER></BODY></HTML>