This form is for setting up or changing the configuration options that control how HyperNews version 1.9B5.7 operates at this site (union.ncsa.uiuc.edu). There are a few other optional customizations you may wish to make in the setup-lib.pl source - do so before submitting this form. All the configuration options are stored in a file called hnrc that is used by all the other HyperNews scripts.
Instead of running this form, you can edit hnrc and run setup.pl directly from a command line. More options are available there. Or you can use the short form to simplify the process. But read the documentation in this form in any case.
The default values for each option in the form come from the hnrc file or from setup-lib.pl. Both setup-form.pl and setup.pl look for hnrc in the HyperNews directory called $hnbin, currently "/usr/local/etc/httpd/cgi-bin/HyperNews". For compatibility with old versions of HyperNews, they also check $hnlib, currently "/usr/local/etc/httpd/cgi-bin/HyperNews/.scripts". (These directories are always computed from the URL used to access each script so you do not need to set them.)
An hnrc file has been found in /usr/local/etc/httpd/cgi-bin/HyperNews.
Each time you submit this setup form, the hnrc file will be changed in "/usr/local/etc/httpd/cgi-bin/HyperNews". The old version of this file will be moved to hnrc-old. If an error occurs, you can back up to this form (which will still have the values you used) to correct the problem and resubmit.
It is possible to install HyperNews multiple times at the same site, each time with different options. In fact, the .scripts directories of each may be linked to a single copy. If you do this, you may want to define separate document directories for each and protect them against direct http access except by administrators. All installations may share the same set of users and passwords, and a different group of users may be given access to each.
When filling in values for the following options, as a convenience, you can use the values of previously defined options (in the order presented in this list) just by using the variable name for the option. For example, $http is used several times below. Another variable that is available is $hndocs, which is the directory where the HyperNews articles headers and responses are stored, currently "/usr/local/etc/httpd/htdocs".
If you have installed HyperNews in a subdirectory of /cgi-bin and you have configured your server to know that it contains CGI programs (e.g. with ScriptAlias), then select the following option to remove /cgi-bin from URLs.
Remove /cgi-bin prefix. NO
$hndocs may be the same as the httpd root document directory, or some subdirectory. If you use a subdirectory of the document root such as "hn", which is recommended, be sure the name is not the same as the name of the directory where the HyperNews scripts are stored or you and your server will be confused. Actually, $hndocs doesn't need to be accessible to the http server, just to the HyperNews scripts. But if you make it inaccessible to the server, make sure the icons are still accessible.
The user running your server is "httpd". This user must be able to write in the $hndocs directory. (Alternatively, the directory could be group writable by the group the user is in, "wsstaff"). You should create this directory yourself being sure to set the correct access mode. HyperNews will try to do it when needed but it will only succeed if the parent directory is also writable.
HyperNews documents directory full path ($hndocs):
$hnRootDoc is the document that is displayed if nothing else can be shown. This could be your top level list of HyperNews pages. You may specify this URL as either a hypernews path relative to $hndocs, or as any URL.
Root Document ($hnRootDoc):
Header Text ($headerText): <STRONG> This server is running HyperNews 1.9B5.7. Please report <A HREF="/HyperNews/get/hypernews/bugs.html">bugs</A>. </STRONG> <HR>
Footer Text ($footerText):
$bodytag is used to define the body tag at the beginning of the body of articles and responses. You could use this to give every page a background color or image. It defaults to a normal <BODY>.
Body Tag ($bodytag):
$globalDefaultOutlineDepth is the maximum number of levels of responses to display when viewing the responses outline on any page. It may be overridden on each article.
Default depth of the outline display ($globalDefaultOutlineDepth):
Icons directory full path ($hnicons):
Full URL for the same directory as $hnicons ($hniconsURL):
You only need to copy icons from the distribution once each time you install a new version of HyperNews, or not at all if you don't plan to use the distributed icons.
Copy Icons to $hnicons. NO
Directory File Mode ($hndirmode):
File Creation Mode ($hnfilemode):
In addition to this list of administrators for all HyperNews data, each base article has an administrator (i.e. the owner) whose scope is limited to that base article and all responses to it. Only the Group administrators have administrative powers for the membership and reset password functions.
Each administrator in the list (comma or whitespace separated) should be a User ID (which may be an email address, if you allow it). Parens and quotes should not be used. E.g. liberte@ncsa.uiuc.edu, rmelo@ncsa.uiuc.edu. The first entry in the list will be given in error messages for users who need help.
HyperNews Administrators (@hnAdmin): liberte@ncsa.uiuc.edu, liberte, melo@cs.uiuc.edu, zhang2@ncsa.uiuc.edu, blong@uiuc.edu
People Directory ($hnPeople):
$hnPassword is the name of the password file.
Password File ($hnPassword):
$hnGroup is the name of the group of members who have access to documents via this particular installation of HyperNews. Each installation of HyperNews may now have a different group of users but all can share the same password file and personal info for each user. Group specific files are in the directory $hnPeople$hnGroup.
You can leave $hnGroup empty and then HyperNews will behave identically with earlier versions (this is the default for now). You can later define subgroups as well. If you want to specify a group name, the format is a path. E.g. /NCSA/SDG.
Group Name ($hnGroup):
There are several fairly complex reasons to rebuild your $hnPassword file and $hnGroup files. You should only need to do this once per installation, but do it at least once when you have finally installed the new version of HyperNews in case any new members might have been created in the interim. Passwords and group info are maintained redundantly thereafter in the membership information, the $hnPassword file, and the group specific files. If you specify a group above, then only the group file will be rebuilt.
Rebuild $hnPassword and $hnGroup files. NO
If the internal security mechanism is different for your server, you could either turn off all security (which is probably dangerous), or attempt to use the "manual" security mechanism by setting the following option. This is not guaranteed to work in all cases, however, so check it out if you need it. In any event, manual security is not used to restrict reading - only commands (such as changing subscription or deletion) that have side effects.
Use Manual Security ($manualSecurity). NO
The main purpose of allowing passwords to be reset is to deal with the situation where a user has forgotten their password. To avoid bothering administrators to reset passwords, the option is available here for anyone, or members only, to reset the password of any member. The new password is not displayed - it is only emailed, in the clear, to the person whose password has been reset. Email is not particularly secure, so you may wish to allow only administrators to reset passwords. Of course, email must be enabled for this to work - see Notification below.
As a precaution, no one, not even another authenticated administrator, may reset an administrator password, no matter what the reset option is. Instead, you have to change the password explicitly on the membership form.
Note that if you allow anyone to join themselves, then you should probably not allow members to reset passwords unless you are very trusting.
If an article is owned by a member, only that member, or an administrator may overwrite the article with a new version.
If set to 2, all the other security variables are effectively set to level 2 or greater. (This may change in the future.)