root / pykota / trunk / cgi-bin / README @ 2987

Revision 2622, 2.2 kB (checked in by jerome, 18 years ago)

Added 2006 to the copyright's years.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Id$
2
3PyKota - Print Quotas for CUPS and LPRng
4
5(c) 2003, 2004, 2005, 2006 Jerome Alet <alet@librelogiciel.com>
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
20====================================================================
21
22This directory contains CGI scripts which you may find useful to
23put on a web server along with PyKota command line tools.
24
25Be sure to restrict access to these CGI scripts as necessary.
26
27If you protect access to printquota.cgi or dumpykota.cgi with
28username+password authentication, the REMOTE_USER CGI environment variable
29is honored, so an user can only see his own datas, but not
30other users' datas. However, the special REMOTE_USER value 'root'
31is allowed an unrestricted access.
32
33If no username+password authentication takes place, then access
34is completely unrestricted.
35
36If you don't protect access to pykotme.cgi with username+password
37authentication, then only the job's size will be displayed
38to you. This is due to the cost of a print job on a particular printer
39depending on the user because of the overcharging factor's value.
40So if you want pykotme.cgi to produce complete web quotes, you must
41ensure that the user logs in from his web browser whenever he uses
42this CGI script.
43
44You must ensure that the user your web server runs as can read
45PyKota's pykota.conf configuration file. No read access to
46PyKota's pykotadmin.conf configuration file is necessary though.
47
48The web server doesn't need to be a print server nor a PyKota
49Storage Backend server, but it must contain a correctly configured
50PyKota installation.
51
52====================================================================
Note: See TracBrowser for help on using the browser.