Networking Forums

Networking Forums > Computer Networking > Linux Networking > CUPS problem: can't access web interface

Reply
Thread Tools Display Modes

CUPS problem: can't access web interface

 
 
Rob van Riel
Guest
Posts: n/a

 
      05-14-2004, 07:52 PM
This is probably rediculously simple, but when I type 'hostname:631'
in a browser address bar, all I get is 'Forbidden You don't have
permission to access the resource on this server.', which makes it
rather difficult to configure my printer. This is a remote access; the
print server is a headless Debian Woody machine.

Can anyone tell me what I need to change in which file to gain access?

Thanks

Rob
 
Reply With Quote
 
 
 
 
Timothy Murphy
Guest
Posts: n/a

 
      05-14-2004, 08:58 PM
Rob van Riel wrote:

> This is probably rediculously simple, but when I type 'hostname:631'
> in a browser address bar, all I get is 'Forbidden You don't have
> permission to access the resource on this server.', which makes it
> rather difficult to configure my printer. This is a remote access; the
> print server is a headless Debian Woody machine.
>
> Can anyone tell me what I need to change in which file to gain access?


Just to say I was wondering the same thing.
What puzzles me is that I can "telnet 192.168.1.1 631"
but not go through a browser.
I assumed it was a firewall issue,
but couldn't see this from my setup.

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
 
Reply With Quote
 
Floyd L. Davidson
Guest
Posts: n/a

 
      05-14-2004, 09:46 PM
(E-Mail Removed) (Rob van Riel) wrote:
>This is probably rediculously simple, but when I type 'hostname:631'
>in a browser address bar, all I get is 'Forbidden You don't have
>permission to access the resource on this server.', which makes it
>rather difficult to configure my printer. This is a remote access; the
>print server is a headless Debian Woody machine.
>
>Can anyone tell me what I need to change in which file to gain access?


The error message suggests that you actually are connecting to the
server, and it just doesn't like you.

Look in file /etc/cups/cupsd.conf, at the very last page of the
file there should be something like this:

<Location /admin>
#Encryption Required
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
## Restrict access to the following
Allow From 127.0.0.1
Allow From .domain.com
Allow From 192.168.0/24
Allow From 192.168.4.225
</Location>

Edit to suit your needs.

--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) (E-Mail Removed)
 
Reply With Quote
 
Bob Hauck
Guest
Posts: n/a

 
      05-14-2004, 10:07 PM
On 14 May 2004 12:52:09 -0700, Rob van Riel <(E-Mail Removed)> wrote:

> This is probably rediculously simple, but when I type 'hostname:631'
> in a browser address bar, all I get is 'Forbidden You don't have
> permission to access the resource on this server.', which makes it
> rather difficult to configure my printer. This is a remote access; the
> print server is a headless Debian Woody machine.


It only allows access to "localhost:631" by default. To change this you
need to edit /etc/cups/cupsd.conf. The format is very similar to
Apache's config file format. You will want to add an "Allow From" line
in the <Location /> section.


--
-| Bob Hauck
-| To Whom You Are Speaking
-| http://www.haucks.org/
 
Reply With Quote
 
Rob van Riel
Guest
Posts: n/a

 
      05-15-2004, 08:01 AM
Bob Hauck <(E-Mail Removed)> wrote in message news:<(E-Mail Removed) g>...
> It only allows access to "localhost:631" by default. To change this you
> need to edit /etc/cups/cupsd.conf. The format is very similar to
> Apache's config file format. You will want to add an "Allow From" line
> in the <Location /> section.


Thanks Bob, that was indeed the key to the problem. I suspect Floyd's
comments also apply, but I had already done that before posting.

Rob
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS printer hangs after inactivity, requires CUPS restart Frnak McKenney Linux Networking 0 07-28-2005 11:56 PM
RH9 and CUPS job manage problem Theophanis Kontogiannis Linux Networking 0 02-15-2004 07:37 PM
CUPS job management problem. Theophanis Kontogiannis Linux Networking 0 01-19-2004 05:29 PM
CUPS printing problem Ryan Linux Networking 0 01-07-2004 05:16 PM
PLEASE! Can someone help me with a CUPS problem? me Linux Networking 0 10-25-2003 05:54 PM



1 2 3 4 5 6 7 8 9 10 11