summaryrefslogtreecommitdiffstats
path: root/openwrt/package/cups/files/etc/cups/cupsd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/cups/files/etc/cups/cupsd.conf')
-rw-r--r--openwrt/package/cups/files/etc/cups/cupsd.conf50
1 files changed, 50 insertions, 0 deletions
diff --git a/openwrt/package/cups/files/etc/cups/cupsd.conf b/openwrt/package/cups/files/etc/cups/cupsd.conf
new file mode 100644
index 000000000..e84de453b
--- /dev/null
+++ b/openwrt/package/cups/files/etc/cups/cupsd.conf
@@ -0,0 +1,50 @@
+########################################################################
+# #
+# 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 /tmp/cups
+#RemoteRoot remroot
+User root
+Group root
+RIPCache 512k
+TempDir /tmp/cups
+Port 631
+HostNameLookups Off
+KeepAlive On
+Browsing On
+BrowseProtocols cups
+
+<Location />
+AuthType Basic
+AuthClass System
+Order Allow,Deny
+Allow From All
+</Location>
+
+<Location /admin>
+AuthType Basic
+AuthClass System
+
+Order Allow,Deny
+Allow From All
+</Location>
+