===========================================================================
$NetBSD: MESSAGE,v 1.2 2005/11/20 14:04:54 rillig Exp $

You have configured cgi-wcalc to install the cgi programs to the directory
/usr/pkg/libexec/cgi-bin.
You will need to configure your web server to allow CGI programs to
execute from that directory.

In addition, you configured cgi-wcalc to use /cgi-wcalc/ as the URI
for the CGI programs.  You will need to configure your web server so that
http://your.name/cgi-wcalc/ will access the CGI programs in
/usr/pkg/libexec/cgi-bin.

A typical apache httpd.conf setup would be:

# Setup the alias to the wcalc HTML directory
# This is where the static web pages and the images
# reside
Alias /wcalc/ "/usr/pkg/share/wcalc-1.0/htdocs"

# setup options for the wcalc HTML directory
<Directory "/usr/pkg/share/wcalc-1.0/htdocs">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

# Setup the alias to the wcalc CGI directory
ScriptAlias /cgi-wcalc/ "/usr/pkg/libexec/cgi-bin/"

# setup options for the wcalc CGI directory
<Directory "/usr/pkg/libexec/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

===========================================================================
