LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   CUPS - 400 Bad Request (http://www.linuxquestions.org/questions/linux-software-2/cups-400-bad-request-812442/)

theking2 06-06-2010 06:21 AM

CUPS - 400 Bad Request
 
http://localhost:631 works fine
http://titan:631 -> 400 Bad Request.

in hosts:
127.0.0.1 titan.king.ma titan localhost


looked at the cups dox http://www.cups.org/index.php but those are difficult to understand, putting it mildly.

unSpawn 06-10-2010 04:15 PM

In /etc/cups/cupsd.conf change:
Code:

<Location />
  Order Deny,Allow
  Deny From All
  Allow From 127.0.0.1
</Location>

to:
Code:

<Location />
  Order Deny,Allow
  Deny From All
  Allow From 127.0.0.1
  Allow From 192.168.1.1
</Location>

where "192.168.1.1" is the IP address of the machine you're connecting from? And restart cups daemon. (Also see "Location /admin" and "Location /admin/conf"?)


All times are GMT -5. The time now is 08:42 AM.