I keep getting problems, also after enabling host name lookups. Whenever I try to access cups via the hostname (http), I get a 400 error. Only when using the IP, things work. Problem appeared after upgrading from 1.3.9* to 1.3.10. Cups runs on a server, I'm trying to access it from my workstation. Below few lines from error_log. First 2 lines are caused by a request in my browser via http, the last 2 probably by cups running on my workstation. W [24/Apr/2009:00:37:12 +0200] Request from "xxx.kuipnet.void" using invalid Host: field "cups.kuipnet.void:631" W [24/Apr/2009:00:37:12 +0200] Request from "xxx.kuipnet.void" using invalid Host: field "cups.kuipnet.void:631" W [24/Apr/2009:00:39:04 +0200] Request from "xxx.kuipnet.void" using invalid Host: field "cups.kuipnet.void" W [24/Apr/2009:00:39:14 +0200] Request from "xxx.kuipnet.void" using invalid Host: field "cups.kuipnet.void" Also, when client.conf on my workstation has the hostname, printer lists are empty, but as soon as I change it to the IP, things work again. In cupsd.conf, I have: ServerName cups.kuipnet.void HostNameLookups On Listen cups.kuipnet.void:631
Looked a bit more into configuration manual and searched a bit more for info on this bug, and seems that if you add the following in cupsd.conf, things work again as before: ServerAlias * This seems to be new compared to 1.3.9.
also have a look at http://bugs.gentoo.org/show_bug.cgi?id=266678 for additional information