All pastes #263426 Raw Edit

Mine

public text v1 · immutable
·published 2006-12-01 15:06 UTC
rendered paste body
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel info
# Where to store temp files
TempDir /var/spool/cups/tmp
# Which port to listen on
Port 631
# Administrator user group...
SystemGroup lpadmin

#Let everybody access it all
BrowseAddress	@LOCAL
BrowseDeny	All
BrowseAllow	127.0.0.1
BrowseAllow	@LOCAL
BrowseOrder	deny,allow

# Restrict Access to the server
<Location />
Order		Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From @LOCAL
</Location>

# Restrict access to the admin pages
<Location /admin>
AuthType	None
#AuthClass	System # uncomment if above is set to basic
Order		Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.2
</Location>

# Only listen for connections from the local machine.
# These settings are configured in /etc/cups/cups.d/ports.conf so that
# changing them does not require to change this file.
# Listen localhost:631
# Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
# The 'Browsing' setting is configured in /etc/cups/cups.d/browse.conf
# so that changing it does not require to change this file.
# Browsing Off
#BrowseOrder allow,deny
#BrowseAllow @LOCAL
#BrowseAddress @LOCAL

# Include files in /etc/cups/conf.d - commented because of Howto
#Include /etc/cups/cups.d/ports.conf
#Include /etc/cups/cups.d/browse.conf