ipif: "include" looks for the file in the directory where "include" appears
[userv-utils] / ucgi / INSTALL
CommitLineData
a33962ba 1To install the www-cgi service:
2
31. Run make to build ucgi and ucgitarget.
4
52. Create the directory /usr/local/lib/user-cgi/cgi
6
73. Install the programs:
8(a) ucgitarget as /usr/local/lib/user-cgi/target
9(b) ucgi as /usr/local/lib/user-cgi/ucgi
10(c) a symlink /usr/local/lib/user-cgi/ucgi-debug -> ucgi
11(d) the script `check' as /usr/local/lib/user-cgi/check
12
134. Put the extra ScriptAlias directives in srm.conf.fragment in the
14appropriate part of your webserver configuration.
15
165. Install the userv service:
17(a) Put the file www-cgi in /etc/userv/services.d (you may need to
18 adjust it for your local configuration)
19(b) If you don't already have it, add this line to /etc/userv/system.default:
20 include-lookup service /etc/userv/services.d
21
226. As a test user, create a `public-cgi' directory, and a symlink in
23it called `check' which points to /usr/local/lib/user-cgi/check.
24
257. Test that all is working by visiting
26 http://www.example.com/ucgi-debug/~fred/check
27 http://www.example.com/ucgi/~fred/check
28
29
9028e234
IJ
30Copyright 1996-2013 Ian Jackson <ijackson@chiark.greenend.org.uk>
31Copyright 1998 David Damerell <damerell@chiark.greenend.org.uk>
32Copyright 1999,2003
33 Chancellor Masters and Scholars of the University of Cambridge
34Copyright 2010 Tony Finch <fanf@dotat.at>
93733bee 35Copyright 2013,2016 Mark Wooding <mdw@distorted.org.uk>
a33962ba 36
9028e234
IJ
37All the utilities here are free software; you can redistribute it and/or
38modify it under the terms of the GNU General Public License as published by
39the Free Software Foundation; either version 3 of the License, or (at your
40option) any later version.
a33962ba 41
42This program is distributed in the hope that it will be useful, but
43WITHOUT ANY WARRANTY; without even the implied warranty of
44MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
45General Public License for more details.
46
47You should have received a copy of the GNU General Public License
9028e234 48along with userv-utils; if not, see http://www.gnu.org/licenses/.