How to add CGI scripts?

FabioDB fdb at lngs.infn.it
Fri Dec 15 06:46:20 PST 2006


> Put them in /usr/share/doc/cups, not /usr/lib/cups/cgi-bin.

Did you mean /usr/share/cups/doc-root ?!

I had put it inside doc-root, and it seem to find it, but browser don't show anything.

Trying to get the page with wget it show:

--15:31:59--  http://printserver/stats.pl
  (try: 5) => `stats.pl'
Connecting to printserver.|172.16.11.152|:80... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

Executing this script from console, it work, but with CUPS CGI not.






More information about the cups mailing list