1 |
nightmorph 07/02/02 08:10:03 |
2 |
|
3 |
Modified: printing-howto.xml |
4 |
Log: |
5 |
fixed config options/syntax for bug 164811 |
6 |
|
7 |
Revision Changes Path |
8 |
1.64 xml/htdocs/doc/en/printing-howto.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/printing-howto.xml?rev=1.64&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/printing-howto.xml?rev=1.64&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/printing-howto.xml?r1=1.63&r2=1.64 |
13 |
|
14 |
Index: printing-howto.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/printing-howto.xml,v |
17 |
retrieving revision 1.63 |
18 |
retrieving revision 1.64 |
19 |
diff -u -r1.63 -r1.64 |
20 |
--- printing-howto.xml 28 Nov 2006 19:21:12 -0000 1.63 |
21 |
+++ printing-howto.xml 2 Feb 2007 08:10:03 -0000 1.64 |
22 |
@@ -1,6 +1,6 @@ |
23 |
<?xml version='1.0' encoding="UTF-8"?> |
24 |
|
25 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/printing-howto.xml,v 1.63 2006/11/28 19:21:12 nightmorph Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/printing-howto.xml,v 1.64 2007/02/02 08:10:03 nightmorph Exp $ --> |
27 |
|
28 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
29 |
|
30 |
@@ -24,8 +24,8 @@ |
31 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
32 |
<license/> |
33 |
|
34 |
-<version>2.95</version> |
35 |
-<date>2006-11-28</date> |
36 |
+<version>2.96</version> |
37 |
+<date>2007-2-01</date> |
38 |
|
39 |
<chapter> |
40 |
<title>Printing and Gentoo Linux</title> |
41 |
@@ -412,17 +412,17 @@ |
42 |
|
43 |
<p> |
44 |
Open up <path>/etc/cups/cupsd.conf</path> in your favorite editor and add in an |
45 |
-<c>Allow</c> line for the system(s) that should be able to reach to your |
46 |
-printer. In the next example, we grant access to the printer from any system |
47 |
-whose IP address starts with <c>192.168.0</c>. |
48 |
+<c>Allow</c> line for the system(s) that should be able to reach to your |
49 |
+printer. In the next example, we grant access to the printer from localhost and |
50 |
+from any system whose IP address starts with <c>192.168.0</c>. |
51 |
</p> |
52 |
|
53 |
<pre caption="Allowing remote access to the printer"> |
54 |
<Location /> |
55 |
-Order Deny,Allow |
56 |
-Deny From All |
57 |
-Allow From 127.0.0.1 |
58 |
-<i>Allow From 192.168.0.*</i> |
59 |
+ Order allow,deny |
60 |
+ <i>Allow localhost</i> |
61 |
+ <i>Allow 192.168.0.*</i> |
62 |
+ Deny all |
63 |
</Location> |
64 |
</pre> |
65 |
|
66 |
@@ -433,6 +433,8 @@ |
67 |
|
68 |
<pre caption="Port configuration in /etc/cups/cupsd.conf"> |
69 |
Listen *:631 |
70 |
+<comment>(Make sure that localhost is commented out)</comment> |
71 |
+#Listen localhost:631 |
72 |
</pre> |
73 |
|
74 |
<note> |
75 |
@@ -442,7 +444,7 @@ |
76 |
|
77 |
<pre caption="Deprecated CUPS 1.1 configuration"> |
78 |
Port 631 |
79 |
-<comment>(make sure the next two lines are commented out)</comment> |
80 |
+<comment>(Make sure the next two lines are commented out)</comment> |
81 |
#Listen 127.0.0.1:631 |
82 |
#Listen localhost:631 |
83 |
</pre> |
84 |
@@ -464,10 +466,11 @@ |
85 |
<pre caption="Allowing remote access in /etc/cups/cupsd.conf"> |
86 |
<Location /admin> |
87 |
<comment>(...)</comment> |
88 |
-Order Deny,Allow |
89 |
-Deny From All |
90 |
-Allow From 127.0.0.1 |
91 |
-<i>Allow From 192.168.0.3</i> |
92 |
+ Encryption Required |
93 |
+ Order allow,deny |
94 |
+ <i>Allow localhost</i> |
95 |
+ <i>Allow 192.168.0.3</i> |
96 |
+ Deny all |
97 |
</Location> |
98 |
</pre> |
99 |
|
100 |
|
101 |
|
102 |
|
103 |
-- |
104 |
gentoo-doc-cvs@g.o mailing list |