[cups.bugs] [MOD] STR #3032: rewriting cupsd.conf from webinterface changes deny/allow order

Thomas Seeling thomas.seeling at gmx.net
Thu Dec 4 08:48:03 PST 2008


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

goto https://yourserver:631/admin/
toggle a setting like "save debugging information"
click on "change settings"
after restart is complete, the reloaded page shows "403 forbidden"

reason:
while rewriting cupsd.conf not only the debuglevel is changed but also the
order of deny and allow statements.

This can be seen from the following diff output. "<" denotes the new file,
">" is the old file.
I have attached the new, non-working cupsd.conf.

11,12c11
< # Show troubleshooting information in error_log.
< LogLevel debug
---
> LogLevel info
35a35
>   Order Deny,Allow
39,40d38
<   # Allow shared printing and remote administration...
<   Order allow,deny
49a48
>   Order Deny,Allow
55,57d53
<   # Allow remote administration...
<   Order allow,deny
<   Allow @LOCAL

Link: http://www.cups.org/str.php?L3032
Version: 1.3.9
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cupsd.conf
URL: <https://lists.cups.org/pipermail/cups/attachments/20081204/3d8aaef6/attachment.ksh>


More information about the cups mailing list