Changeset 2019
- Timestamp:
- 01/08/05 20:13:11 (20 years ago)
- Location:
- pykota/trunk
- Files:
-
- 1 added
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/cgi-bin/README
r1266 r2019 24 24 25 25 Be sure to restrict access to these CGI scripts as necessary. 26 26 27 If you protect access to printquota.cgi with user+password 27 28 authentication, the REMOTE_USER CGI environment variable … … 29 30 not other users' quota. 30 31 32 To make dumpykota.cgi work, you have to ensure that your web server 33 runs it as a PyKota administrator. This means that dumpykota.cgi 34 when run must be able to read the pykotadmin.conf file. There are 35 several ways to do so, one of them is to put the user your web 36 server normally runs as into the pykota group (which must be allowed 37 to read pykotadmin.conf), then restart your web server : 38 39 $ adduser www-data pykota 40 $ /etc/init.d/apache restart 41 42 This is probably not the safest way though, so you may want to 43 restrict access further with an username and password, or use 44 Apache's suExec mechanism to directly run this particular 45 script as the pykota system user. Please refer to your web 46 server's documentation for details. 47 31 48 The web server doesn't need to be a print server nor a PyKota 32 49 Storage Backend server, but it must contain a correctly configured -
pykota/trunk/setup.py
r1952 r2019 24 24 # 25 25 # $Log$ 26 # Revision 1.61 2005/01/08 19:13:11 jalet 27 # dumpykota.cgi was added to allow the use of dumpykota through the web. 28 # This makes real time interfacing with the third party software phpPrintAnalyzer 29 # a breeze ! 30 # 26 31 # Revision 1.60 2004/11/21 21:50:02 jalet 27 32 # Introduced the new pkmail command as a simple email gateway … … 290 295 data_files.append((os.sep.join([directory, "conf"]), ["conf/README", "conf/pykota.conf.sample", "conf/pykotadmin.conf.sample"])) 291 296 292 data_files.append((os.sep.join([directory, "cgi-bin"]), ["cgi-bin/README", "cgi-bin/printquota.cgi" ]))297 data_files.append((os.sep.join([directory, "cgi-bin"]), ["cgi-bin/README", "cgi-bin/printquota.cgi", "cgi-bin/dumpykota.cgi"])) 293 298 294 299 data_files.append((os.sep.join([directory, "logos"]), glob.glob(os.sep.join(["logos", "*.jpeg"])) + glob.glob(os.sep.join(["logos", "*.png"])) + glob.glob(os.sep.join(["logos", "*.xcf"]))))