[package] update cups to 1.4.2 (#6597)
[openwrt/svn-archive/archive.git] / net / cups / files / etc / cups / cupsd.conf
1 ########################################################################
2 # #
3 # This is the CUPS configuration file. If you are familiar with #
4 # Apache or any of the other popular web servers, we've followed the #
5 # same format. Any configuration variable used here has the same #
6 # semantics as the corresponding variable in Apache. If we need #
7 # different functionality then a different name is used to avoid #
8 # confusion... #
9 # #
10 ########################################################################
11
12
13 AccessLog syslog
14 ErrorLog syslog
15 LogLevel info
16 PageLog syslog
17 PreserveJobHistory No
18 PreserveJobFiles No
19 AutoPurgeJobs Yes
20 MaxJobs 25
21 MaxPrinterHistory 10
22 #Printcap /etc/printcap
23 #PrintcapFormat BSD
24 RequestRoot /var/cups
25 #RemoteRoot remroot
26 User root
27 Group root
28 RIPCache 512k
29 TempDir /var/cups
30 Port 631
31 HostNameLookups Off
32 KeepAlive On
33 Browsing On
34 BrowseProtocols cups
35
36 <Location />
37 Order Deny,Allow
38 Allow From 127.0.0.1
39 Allow From 192.168.1.0/24
40 </Location>
41
42 <Location /admin>
43 AuthType Basic
44 AuthClass System
45 Order Allow,Deny
46 Allow From All
47 </Location>