______________________________________________________________________________ WWW: Using CGI scripts on www.halcyon.com Q. Can I setup my own CGI binaries and scripts on halcyon.com? How do I get the files to the right place? A. Northwest Nexus customers who have Personal Shell, Personal SLIP, or Personal PPP accounts can create and place their own custom CGI programs on our Web server, www.halcyon.com. Users who are implementing CGI programs are assumed to already have their own homepages setup in the /www directory tree. If you don't already have a homepage setup on our World Wide Web (WWW) Server, please refer to our "WWW: How to put your own World-Wide Web page on halcyon" FAQ. Installing your CGI scripts --------------------------- When your CGI program is ready (and you've tested it), you will need to move the program to your personal CGI programs directory. Using a telnet program (for example, Fetch, NCSA, telnet, AIR telnet, Chameleon telnet), connect to: king.halcyon.com ...and to go the shell prompt. At the shell prompt, change directories to /www with the command: cd /www At this point, you will need to change directories to the subdirectory which contains all your personal homepage files. At the shell prompt, type: cd $user ...to changed to your personal directory, replacing $user with your own account name. If any errors return from the above command, you will need to change to the directory specific to your account, which contains all your homepage HTML files. Once you are in your personal homepage directory, you will need to create a directory for your personal CGI programs. At the shell prompt, type: mkdir cgi-pvt This will create a directory owned by you, in /www/$user, where $user is your account name or your personal html sub-directory. The directory will be called: /www/$user/cgi-pvt This associates the directory and its contents with you and your halcyon Personal account. You are responsible for the contents in your /www directory. Now transfer or move all your CGI programs to your personal CGI subdirectory, /www/$user/cgi-pvt, where $user is generally your account name. Referencing your CGI scripts in your HTML files ----------------------------------------------- Once all your CGI programs are placed in your personal CGI subdirectory, you can incorporate them into your personal homepages. CGI programs in /www/$user/cgi-pvt are referenced as follows:
...for CGI scripts and programs, and: ...for all fill out forms. Please keep in mind that any reference to $user is where you will place your account name or directory in /www where all your personal HTML and CGI programs are stored. (02-Aug-96/wwwucsow/WRD-TL) ___________________________________________________________________________ Copyright 1996 Northwest Nexus Inc. All Rights Reserved. This document may not be reproduced nor redistributed in any form without express permission; contact us at support@halcyon.com with questions.