ipif: move #include of automech.h down so that it has definition of struct mechanism
[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
30Copyright (C) 1999 Ian Jackson
31
32This is free software; you can redistribute it and/or modify it
33under the terms of the GNU General Public License as published by
34the Free Software Foundation; either version 2 of the License, or
35(at your option) any later version.
36
37This program is distributed in the hope that it will be useful, but
38WITHOUT ANY WARRANTY; without even the implied warranty of
39MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
40General Public License for more details.
41
42You should have received a copy of the GNU General Public License
43along with userv-utils; if not, write to the Free Software
44Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
45
46$Id$