| 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 | |