blob: 9f6f52bb78911a4bd56e914afee68b14c024c771 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
===========================================================================
$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
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>
===========================================================================
|