Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

resubmitting cups job

Status
Not open for further replies.

stfaprc

Programmer
Feb 10, 2005
216
US
CUPS is still not working properly.
still getting
client-error-forbidden
when i try to resubmint a job via the browser 631 port.

here is the cupsd.conf
Code:
ServerAdmin rootem
LogFilePerm 0600

MaxLogSize 2000000000
LogLevel info

PreserveJobFiles Yes
MaxJobs 50001

Printcap /etc/printcap
PrintcapFormat Solaris

User lp
Group sys

Timeout 175

<Location />
AuthClass System
AuthType None
Order Allow,Deny
Allow From 127.0.0.1
Allow From 192.168.1.*
Allow From 192.168.1.15
</Location>

<Location /jobs>
AuthClass System
AuthType None
Order Allow,Deny
Allow From 127.0.0.1
Allow From 192.168.1.*
Allow From 192.168.1.15
</Location>

<Location /admin>
AuthClass System
AuthType None
Order Deny,Allow
Allow From 127.0.0.1
Allow From 192.168.1.*
Allow From 192.168.1.15
</Location>

<Location /printers/test>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthClass System
AuthType None
</Location>
<Location /printers/DT128>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
Allow from All
</Location>
<Location /printers/5si>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
</Location>
<Location /printers/Tek>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
Allow from All
</Location>
<Location /printers/TDLR>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.15
Allow From 192.168.1.*
AuthClass System
AuthType None
</Location>
Browsing On
BrowseProtocols cups
BrowseOrder Deny,Allow
BrowseAddress 192.168.1.255
BrowseAllow from 127.0.0.1
BrowseAllow from 192.168.1.0/255.255.255.0
BrowseAllow from 192.168.1.15
Listen *:631
 
I am not sure about CUPS but normally when you specify a whole subnet you don't need to put the * .

Simply

192.168.1.0

or even

192.168.1

should do it.

QatQat

If I could have sex each time I reboot my server, I would definitely prefer Windoz over Linux!
 
it also gives the error when i use localhost:631 :(
 
Probably because the cupsd.conf is not properly formed,

I would anyway remove all those * from the file and restart cupsd.

QatQat


If I could have sex each time I reboot my server, I would definitely prefer Windoz over Linux!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top