Add quirkafleeg to git-daemon/Makefile to placate emacs makefile mode.
[userv-utils] / www-cgi / 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>
a33962ba 35
9028e234
IJ
36All the utilities here are free software; you can redistribute it and/or
37modify it under the terms of the GNU General Public License as published by
38the Free Software Foundation; either version 3 of the License, or (at your
39option) any later version.
a33962ba 40
41This program is distributed in the hope that it will be useful, but
42WITHOUT ANY WARRANTY; without even the implied warranty of
43MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
44General Public License for more details.
45
46You should have received a copy of the GNU General Public License
9028e234 47along with userv-utils; if not, see http://www.gnu.org/licenses/.