| 1 | To install the www-cgi service: |
| 2 | |
| 3 | 1. Run make to build ucgi and ucgitarget. |
| 4 | |
| 5 | 2. Create the directory /usr/local/lib/user-cgi/cgi |
| 6 | |
| 7 | 3. 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 | |
| 13 | 4. Put the extra ScriptAlias directives in srm.conf.fragment in the |
| 14 | appropriate part of your webserver configuration. |
| 15 | |
| 16 | 5. 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 | |
| 22 | 6. As a test user, create a `public-cgi' directory, and a symlink in |
| 23 | it called `check' which points to /usr/local/lib/user-cgi/check. |
| 24 | |
| 25 | 7. 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 | |
| 30 | Copyright (C) 1999 Ian Jackson |
| 31 | |
| 32 | This is free software; you can redistribute it and/or modify it |
| 33 | under the terms of the GNU General Public License as published by |
| 34 | the Free Software Foundation; either version 2 of the License, or |
| 35 | (at your option) any later version. |
| 36 | |
| 37 | This program is distributed in the hope that it will be useful, but |
| 38 | WITHOUT ANY WARRANTY; without even the implied warranty of |
| 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 40 | General Public License for more details. |
| 41 | |
| 42 | You should have received a copy of the GNU General Public License |
| 43 | along with userv-utils; if not, write to the Free Software |
| 44 | Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 45 | |
| 46 | $Id$ |