|
|||||||||||
|
Re: CUPS
From: Eric Sisler <esisler(at)westminster.lib.co.us>
Date: Wed Aug 22 2007 - 22:33:08 EDT
> <Location /admin> I missed the first part of this thread, but if this is the CUPS web gui served by Apache, try: <Location /admin>
order deny,allow
</Location> AFAIK, Apache doesn't use network/subnet mask style syntax. You'll also need to restart apache via something like "apachectl graceful" or "service httpd restart". BTW - The Apache documentation states you should use <Directory> rather than <Location> to secure website access. From the Apache 2.0.x documentation: "It is important to never use <Location> when trying to restrict access to objects in the filesystem. This is because many different webspace locations (URLs) could map to the same filesystem location, allowing your restrictions to be circumvented."
See the following document, particularly the "What to use When" section
(recently learned this myself):
-Eric -- Eric SislerReceived on Wed Aug 22 22:33:25 2007 This archive was generated by hypermail 2.1.8 : Wed Oct 10 2007 - 00:39:50 EDT |
||||||||||
|
|||||||||||