Netscape Communications Server Configuration | ![]() |
This section describes the precise details of configuring the Netscape Communications Server, version 2.x, to work with Caucus. (This server is now obsolete, but may still be in use in many locations.) It assumes that you have already installed your web server and are generally familiar with server configuration.
(Throughout this page, wherever you see /home/caucus, replace it with the actual path of the Caucus home directory.)
From the Netscape server manager, under the section CGI and Server Parsed HTML, choose Specify a directory that will contain CGI programs only.
In the URL prefix box, enter "sweb". In the CGI directory box, enter "/home/caucus/SWEB". Make those changes.
Repeat the same process for the URL prefix "reg", CGI directory "/home/caucus/REG".
Repeat the process for the URL prefix "caucus", CGI directory "/home/caucus/SWEB/start.cgi".
To ensure full compatibility with Caucus, you must manually create a Netscape user database sub-directory that is owned by the Caucus userid. Assuming that your Netscape server is installed in /var/ns-home, and that the Caucus userid is called caucus, type the commands below. (Note that you must know the "root" password in order to do this.)
su - cd /var/ns-home/userdb mkdir caucus cp /home/caucus/caucus_passwd caucus/passwd.pwf chown -R caucus caucus exit
If you wish to allow your users to change their own passwords or self-register their own userids, you must also edit /home/caucus/SWEB/swebd.conf, and change the parameter "PW_Path" so that the line reads:
PW_Path /var/ns-home/userdb/caucus/passwd.pwf
From the Netscape server manager, under the section Access Control and Dynamic Configuration, choose Restrict access to part of your server through authentication.
The Restrict Access page should say "You are currently modifying the directory /home/caucus/SWEB/*". If it says "You are currently modifying the entire server", then choose Browse Files. In the Choose a directory to list from box, enter "/home/caucus/SWEB".
Select the radio buttons for Only list directories, and Follow sym-links. Make those changes. If there is a link for Choose this directory, select it.
Return to the Restrict Access page. It should say that "You are currently modifying the directory /home/caucus/SWEB/*".
In the Which Database? box, select or type "caucus/passwd". Leave the Which users? box blank (unless you have a reason to restrict Caucus to specific set of users).
In the Realm box, type "Caucus". Make these changes.
Back at the server manager page, under Server Control, choose Start up, restart, or shutdown your server, and press the Restart! button.
To add userids, Caucus managers may select "Manage Individual User Accounts" from the Caucus management page. Or your users may self-register their own userid and password from the link in the caucus.html page. (Or you may use the Database user manipulation section of the Netscape server manager pager.)