[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cups, ssl and apt



Hello list.

Please, also reply to my mailbox, as I tried to subscribe
but didn't get any confirmation yet.. Thank you!


I set up a printserver based on debian/cups and I'm
very happy with it.

I'd like now to use ssl for the /admin web section..

Unfortunatly I can't seam to make it work and I'm starting
to think that the problem lies on the way cups was
configured/installed by apt, in the sense that maybe apt
didn't enable ssh for this package by including the
configure option --enable-ssl

In cups.conf, if I enable the line Port 443 apart from
Port 631, cups gives the following in file error_log:

D [16/Dec/2005:11:50:06 +0100] AcceptClient: 5 from 193.5.152.27:631.
D [16/Dec/2005:11:50:06 +0100] ReadClient: 5 GET /printers HTTP/1.1
D [16/Dec/2005:11:50:06 +0100] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 23661 I [16/Dec/2005:11:50:06 +0100] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=23661)
D [16/Dec/2005:11:50:06 +0100] SendCommand: 5 file=7
D [16/Dec/2005:11:50:06 +0100] AcceptClient: 8 from localhost:443.
E [16/Dec/2005:11:50:06 +0100] Bad request line "" from localhost!
D [16/Dec/2005:11:50:06 +0100] SendError: 8 code=400 (Bad Request)
D [16/Dec/2005:11:50:06 +0100] CloseClient: 8
E [16/Dec/2005:11:50:06 +0100] [CGI] CUPS-Get-Printers request failed - server-error-internal-error (500)
D [16/Dec/2005:11:50:06 +0100] ReadClient: 5 GET /favicon.ico HTTP/1.1
D [16/Dec/2005:11:50:06 +0100] SendError: 5 code=404 (Not Found)
D [16/Dec/2005:11:50:06 +0100] CloseClient: 5

my questions are:
- how can I know if cups was installed with option --enable-ssl?
- if not, how can reinstall cups with option option --enable-ssl?
- in general, is there a way to find out what options were used
  by apt to configure/build/install a package?
- in general, is there a way to tell apt what options to use to
  configure/build/install a package?

Best regards.
--
Robi



Reply to: