Changeset 2019 for pykota/trunk/cgi-bin

Show
Ignore:
Timestamp:
01/08/05 20:13:11 (20 years ago)
Author:
jalet
Message:

dumpykota.cgi was added to allow the use of dumpykota through the web.
This makes real time interfacing with the third party software phpPrintAnalyzer
a breeze !

Location:
pykota/trunk/cgi-bin
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/cgi-bin/README

    r1266 r2019  
    2424 
    2525Be sure to restrict access to these CGI scripts as necessary. 
     26 
    2627If you protect access to printquota.cgi with user+password 
    2728authentication, the REMOTE_USER CGI environment variable 
     
    2930not other users' quota. 
    3031 
     32To make dumpykota.cgi work, you have to ensure that your web server  
     33runs it as a PyKota administrator. This means that dumpykota.cgi  
     34when run must be able to read the pykotadmin.conf file. There are  
     35several ways to do so, one of them is to put the user your web  
     36server normally runs as into the pykota group (which must be allowed  
     37to read pykotadmin.conf), then restart your web server : 
     38             
     39            $ adduser www-data pykota 
     40            $ /etc/init.d/apache restart 
     41             
     42This is probably not the safest way though, so you may want to             
     43restrict access further with an username and password, or use 
     44Apache's suExec mechanism to directly run this particular  
     45script as the pykota system user. Please refer to your web 
     46server's documentation for details. 
     47         
    3148The web server doesn't need to be a print server nor a PyKota  
    3249Storage Backend server, but it must contain a correctly configured