In cups if http://localhost:631/ works, but http://hostname:631/ gives you a "400 Bad Request", try this: cupsctl "ServerAlias=hostname". It worked for me. If the server have aliases, you can add them with more cupsctl commands.
cupsctl "ServerAlias=hostname"
0 comments
http://geekinfo.net/article.php?story=20100130235641836