[TriLUG] CUPS web admin

Michael Thompson thompson at easternrad.com
Wed Jun 23 13:07:26 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Byarlay, Wayne A. wrote:

| So, I am trying to access it via my XP machine from the next room. I of
| course put the REAL server name in place of "servername", but I didn't
| want to post that in a public forum! As much as I trust you guys, you
| never know the result of putting your server names in a public place. So
| let's pretend it's called "bubba".

Thats a good thing.  Nobody here takes offense to that.  I *always*
replace my IP info on stuff I post here.  More people should be as
paranoid, imho.  :)

Now for some (filtered) .conf stuff:

this is from my cupd.conf file, we'll assume my home network is
192.168.0.0/24...

<Location />
## IIRC, this is the section for http://mycupsserver:631
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.*
# ^^^^^^^^^^^^^^^^^^^^^ as stated by another poster before, this
#                       is the line that allows access from my local net
</Location>

<Location /admin>
## this is the section for http://mycupsserver:631/admin
AuthType Basic
AuthClass System
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.*
# ^^^^^^^^^^^^^^^^^^^^^ line that allows access from my local net
</Location>

The first section allows/disallows access to the 'user' section, the
second clip is for access to the 'administrator' site...

HTH!  :)

- --mike


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFA2bjLuxlRkoWKZoMRAi9uAJ9X+FNm3c7zCQVkLA+I+ZQ0hUN57gCfbemn
osYFlkTJPVQYBLLObrkgS5Q=
=GYYp
-----END PGP SIGNATURE-----




More information about the TriLUG mailing list