- From: Eric Sisler <esisler@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 22 Aug 2007 20:33:08 -0600
On Tue, 2007-08-21 at 21:03 -0500, mark wrote:
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.0/255.255.255.0
I missed the first part of this thread, but if this is the CUPS web gui
served by Apache, try:
deny from all
allow from 192.168.0.
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
"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 Sisler <esisler@xxxxxxxxxxxxxxxxxxxxx>
Library Network Specialist
Westminster Public Library
Westminster, CO USA
Linux - Don't fear the Penguin.
Want to know what we use Linux for?
redhat-list mailing list
- Re: CUPS
- From: mark
- Re: CUPS