pkgsrc/cad/cgi-wcalc/MESSAGE

41 lines
1.3 KiB
Text
Raw Normal View History

===========================================================================
2005-11-20 15:04:54 +01:00
$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
${PREFIX}/${WCALC_CGIDIR}.
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 ${WCALC_CGIPATH} as the URI
2005-11-20 15:04:54 +01:00
for the CGI programs. You will need to configure your web server so that
http://your.name${WCALC_CGIPATH} will access the CGI programs in
${PREFIX}/${WCALC_CGIDIR}.
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_HTMLPATH} "${PREFIX}/${WCALC_HTMLDIR}"
# setup options for the wcalc HTML directory
<Directory "${PREFIX}/${WCALC_HTMLDIR}">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# Setup the alias to the wcalc CGI directory
ScriptAlias ${WCALC_CGIPATH} "${PREFIX}/${WCALC_CGIDIR}/"
# setup options for the wcalc CGI directory
<Directory "${PREFIX}/${WCALC_CGIDIR}">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
===========================================================================