CUPS Custom CGI Scripts Don't Execute, Just Download

Brian Kroth bpkroth at gmail.com
Thu Oct 22 13:00:04 PDT 2009


> I'm trying to use CUPS' webserver to serve some simple scripts.
>
> I've followed the documentation here:
> http://www.cups.org/documentation.php/doc-1.4/cgi.html
>
> But my scripts (Perl or PHP), don't get executed.  They just download as if they were text files.
>
> Can anyone tell me what I'm doing wrong?
>
> I'm running Debian Lenny.
>
> Thanks,
> Brian

http://www.cups.org/newsgroups.php?s1+gcups.general+v24+T1+Qcgi

I followed this link and now I can run the script, however the results are cut off.  Is there a return limit?  It's only about 5k.

Thanks,
Brian




More information about the cups mailing list