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

Revision 3413, 2.1 kB (checked in by jerome, 16 years ago)

Removed unnecessary spaces at EOL.

  • 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
4
5(c) 2003, 2004, 2005, 2006, 2007, 2008 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 3 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, see <http://www.gnu.org/licenses/>.
18
19====================================================================
20
21This directory contains CGI scripts which you may find useful to
22put on a web server along with PyKota command line tools.
23
24Be sure to restrict access to these CGI scripts as necessary.
25
26If you protect access to printquota.cgi or dumpykota.cgi with
27username+password authentication, the REMOTE_USER CGI environment variable
28is honored, so an user can only see his own datas, but not
29other users' datas. However, the special REMOTE_USER value 'root'
30is allowed an unrestricted access.
31
32If no username+password authentication takes place, then access
33is completely unrestricted.
34
35If you don't protect access to pykotme.cgi with username+password
36authentication, then only the job's size will be displayed
37to you. This is due to the cost of a print job on a particular printer
38depending on the user because of the overcharging factor's value.
39So if you want pykotme.cgi to produce complete web quotes, you must
40ensure that the user logs in from his web browser whenever he uses
41this CGI script.
42
43You must ensure that the user your web server runs as can read
44PyKota's pykota.conf configuration file. No read access to
45PyKota's pykotadmin.conf configuration file is necessary though.
46
47The web server doesn't need to be a print server nor a PyKota
48Storage Backend server, but it must contain a correctly configured
49PyKota installation.
50
51====================================================================
Note: See TracBrowser for help on using the browser.