pkgsrc/cad/cgi-wcalc/MESSAGE
dmcmahill 872fd16683 import cgi-wcalc-0.9
This is the common gateway interface (CGI) frontend for the Wcalc
transmission line analysis/synthesis calculator.
2005-11-01 03:52:11 +00:00

40 lines
1.3 KiB
Text

===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2005/11/01 03:52:12 dmcmahill 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
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>
===========================================================================