Authentication required for any IP except localhost?

Kurt Pfeifle kpfeifle at danka.de
Mon Jul 10 08:47:25 PDT 2006


Alessandro <barx at sticazzi.net> wrote (Monday 10 July 2006 17:15):

> No one has an idea on how to solve this?
> Bye
> 
>> I want to have free access to cups from localhost, but I want to use AuthType Basic for web access from
>> any other IP.


Try this:

<Location />
  AuthType Basic
  Order deny,allow
  Deny From All
  Allow From localhost
  Satisfy Any
</Location>


For an explanation of the "Satisfy" directive see  

  http://localhost:631/help/ref-cupsd-conf.html?TOPIC=References&QUERY=#Satisfy
  (CUPS 1.2.x)

  http://www.cups.org/doc-1.1/sam.html#Satisfy
  (CUPS 1.1.x)

Cheers,
Kurt




More information about the cups mailing list