[cups.general] How to change to a normal hostname?
Michelle Konzack
linux4michelle at tamay-dogan.net
Mon Jul 16 15:44:16 PDT 2012
Hello,
how can I change the <localhost:631> to <cups.intranet.tamay-dogan.net>
and to port 80?
I have changed
--[ command 'ssh cups.intranet1.tamay-dogan.net "cat /etc/cups/cupsd.conf"' ]--
<snip>
#Listen 192.168.0.30:80
Listen cups.intranet1.tamay-dogan.net:80
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
Allow 192.168.0.0/24
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
Allow 192.168.0.0/24
</Location>
<snip>
...
------------------------------------------------------------------------
But I get the error message "400 ungültige Anfrage" and this in the
error.log:
--[ command 'ssh cups.intranet1.tamay-dogan.net "cat /var/log/cups/error_log"' ]--
E [16/Jul/2012:23:16:47 +0200] Request from "192.168.0.13" using invalid Host: field "cups.intranet1.tamay-dogan.net"
E [16/Jul/2012:23:16:47 +0200] Request from "192.168.0.13" using invalid Host: field "cups.intranet1.tamay-dogan.net"
E [16/Jul/2012:23:17:00 +0200] Request from "192.168.0.13" using invalid Host: field "cups.intranet1.tamay-dogan.net"
E [16/Jul/2012:23:17:00 +0200] Request from "192.168.0.13" using invalid Host: field "cups.intranet1.tamay-dogan.net"
------------------------------------------------------------------------
It does not mather, wheter I write
Listen 192.168.0.30:80
or
Listen cups.intranet1.tamay-dogan.net:80
it is the same error message.
Thanks, Greetings and nice Day/Evening
Michelle Konzack
--
##################### Debian GNU/Linux Consultant ######################
Development of Intranet and Embedded Systems with Debian GNU/Linux
Internet Service Provider, Cloud Computing
<http://www.itsystems.tamay-dogan.net/>
itsystems at tdnet Jabber linux4michelle at jabber.ccc.de
Owner Michelle Konzack
Gewerbe Strasse 3 Tel office: +49-176-86004575
77694 Kehl Tel mobil: +49-177-9351947
Germany Tel mobil: +33-6-61925193 (France)
USt-ID: DE 278 049 239
Linux-User #280138 with the Linux Counter, http://counter.li.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.pgp
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.cups.org/pipermail/cups/attachments/20120716/744b3362/attachment.bin>
More information about the cups
mailing list