[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cupsd.conf help



jpg wrote:
Attempting to set up the cupsd.conf file and getting errors logged to the
/var/log/cups/error_log for what is documented to be valid cupsd.conf
directives, i.e.:

snippet of /etc/cups/cupsd.conf file:
=============================================================
239 240 Order Deny,Allow
    241 Deny From All
    242 Allow From 10.2.0.*
243 =============================================================



Could you paste the contents of `grep -v '^#' /etc/cups/cupsd.conf|strings` ?

For reference, mine looks like the following and serves my purposes well:

# grep -v '^#' /etc/cups/cupsd.conf |strings
ServerName localhost
ServerAdmin root@localhost
DefaultCharset notused
LogLevel info
Printcap /var/run/cups/printcap
Port 631
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1
</Location>
<Location /jobs>
AuthType Basic
AuthClass User
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1
</Location>


I'm guessing that most likely the directives that you pasted are outside of a <Location> block...



Reply to: