nightmorph    07/02/02 08:10:03

  Modified:             printing-howto.xml
  Log:
  fixed config options/syntax for bug 164811

Revision  Changes    Path
1.64                 xml/htdocs/doc/en/printing-howto.xml

file : 
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/printing-howto.xml?rev=1.64&view=markup
plain: 
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/printing-howto.xml?rev=1.64&content-type=text/plain
diff : 
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/printing-howto.xml?r1=1.63&r2=1.64

Index: printing-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/printing-howto.xml,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- printing-howto.xml  28 Nov 2006 19:21:12 -0000      1.63
+++ printing-howto.xml  2 Feb 2007 08:10:03 -0000       1.64
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding="UTF-8"?>
 
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/printing-howto.xml,v 1.63 
2006/11/28 19:21:12 nightmorph Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/printing-howto.xml,v 1.64 
2007/02/02 08:10:03 nightmorph Exp $ -->
 
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
@@ -24,8 +24,8 @@
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>2.95</version>
-<date>2006-11-28</date>
+<version>2.96</version>
+<date>2007-2-01</date>
 
 <chapter>
 <title>Printing and Gentoo Linux</title>
@@ -412,17 +412,17 @@
 
 <p>
 Open up <path>/etc/cups/cupsd.conf</path> in your favorite editor and add in an
-<c>Allow</c> line for the system(s) that should be able to reach to your 
-printer. In the next example, we grant access to the printer from any system 
-whose IP address starts with <c>192.168.0</c>.
+<c>Allow</c> line for the system(s) that should be able to reach to your
+printer. In the next example, we grant access to the printer from localhost and
+from any system whose IP address starts with <c>192.168.0</c>.
 </p>
 
 <pre caption="Allowing remote access to the printer">
 &lt;Location /&gt;
-Order Deny,Allow
-Deny From All
-Allow From 127.0.0.1
-<i>Allow From 192.168.0.*</i>
+  Order allow,deny
+  <i>Allow localhost</i>
+  <i>Allow 192.168.0.*</i>
+  Deny all
 &lt;/Location&gt;
 </pre>
 
@@ -433,6 +433,8 @@
 
 <pre caption="Port configuration in /etc/cups/cupsd.conf">
 Listen *:631
+<comment>(Make sure that localhost is commented out)</comment>
+#Listen localhost:631
 </pre>
 
 <note>
@@ -442,7 +444,7 @@
 
 <pre caption="Deprecated CUPS 1.1 configuration">
 Port 631
-<comment>(make sure the next two lines are commented out)</comment>
+<comment>(Make sure the next two lines are commented out)</comment>
 #Listen 127.0.0.1:631
 #Listen localhost:631
 </pre>
@@ -464,10 +466,11 @@
 <pre caption="Allowing remote access in /etc/cups/cupsd.conf">
 &lt;Location /admin&gt;
 <comment>(...)</comment>
-Order Deny,Allow
-Deny From All
-Allow From 127.0.0.1
-<i>Allow From 192.168.0.3</i>
+  Encryption Required
+  Order allow,deny
+  <i>Allow localhost</i>
+  <i>Allow 192.168.0.3</i>
+  Deny all
 &lt;/Location&gt;
 </pre>
 



-- 
[email protected] mailing list

Reply via email to