cgi-bin: localhost
Michael Sweet
mike at easysw.com
Mon Aug 9 10:00:42 PDT 2004
somogyi at de.ibm.com wrote:
> Hello,
>
> We have the following problem:
>
> When CUPS is configured to listen only on a fixed address (with the "Listen x.x.x.x:631" parameter), then the CUPS web interface doesn't work.
> This occours because the CUPS web interface connects to ipp://localhost, but the CUPS service listens on x.x.x.x:631 (not localhost).
>
> Example code part of CUPS ("cgi-bin/printers.c"):
> http = httpConnectEncrypt("localhost", ippPort(), cupsEncryption());
>
> (almost localhost everywhere in the cgi-bin source)
>
> Is it a bug, or a feature?
It is as designed; you MUST listen on the local loopback interface
for the authentication information that is passed to the CGIs to
work. We will not be changing this.
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Printing Software for UNIX http://www.easysw.com
More information about the cups-devel
mailing list