NCSA and Apache Server Configuration |
![]() |
(Last revised 18 December 1998) |
This section describes the precise details of configuring the NCSA or Apache web server to work with Caucus. It assumes that you have already installed your web server and are generally familiar with the server configuration files.
The newer releases of Apache default to a very restrictive set of permissions for directories outside the "document root" of the web server tree. Thus, you may need to explicitly allow access to directories that Caucus uses.
Find the httpd configuration file access.conf. Edit it, and add the lines:
<Directory /home/caucus/SWEB> Options All AllowOverride All allow from all </Directory> <Directory /home/caucus/REG> Options All AllowOverride All allow from all </Directory>
(replacing /home/caucus with the home directory of the Caucus userid on your system).
Find the httpd configuration file srm.conf. Edit it, and add the lines:
ScriptAlias /sweb/ /home/caucus/SWEB/ ScriptAlias /reg/ /home/caucus/REG/
Also in srm.conf, add the lines:
ScriptAlias /caucus/ /home/caucus/SWEB/start.cgi/ ScriptAlias /caucus /home/caucus/SWEB/start.cgi
Access authorization for NCSA and Apache servers is set up automatically by the Caucus installation script. It creates the file /home/caucus/SWEB/.htaccess, which declares that the directory is password-protected. That file points in turn to the userid and password database file /home/caucus/caucus_passwd, which is also set up by the Caucus installation script.
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.