packages/net/cups/files/etc/cups/cupsd.conf
2010-04-18 12:37:48 +00:00

48 lines
1.3 KiB
Plaintext

########################################################################
# #
# This is the CUPS configuration file. If you are familiar with #
# Apache or any of the other popular web servers, we've followed the #
# same format. Any configuration variable used here has the same #
# semantics as the corresponding variable in Apache. If we need #
# different functionality then a different name is used to avoid #
# confusion... #
# #
########################################################################
AccessLog syslog
ErrorLog syslog
LogLevel info
PageLog syslog
PreserveJobHistory No
PreserveJobFiles No
AutoPurgeJobs Yes
MaxJobs 25
MaxPrinterHistory 10
#Printcap /etc/printcap
#PrintcapFormat BSD
RequestRoot /var/cups
#RemoteRoot remroot
User nobody
Group nogroup
RIPCache 512k
TempDir /var/cups
Port 631
HostNameLookups Off
KeepAlive On
Browsing On
BrowseProtocols cups
<Location />
Order Deny,Allow
Allow From 127.0.0.1
Allow From 192.168.1.0/24
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Allow,Deny
Allow From All
</Location>