clean up the directions some more.
Andrew Lewman

Andrew Lewman commited on 2012-04-16 16:11:26
Zeige 1 geänderte Dateien mit 19 Einfügungen und 21 Löschungen.

... ...
@@ -42,7 +42,7 @@
42 42
     </p>
43 43
 
44 44
     <p>
45
-    This howto describes the steps for setting up your own hidden service
45
+    This page describes the steps for setting up your own hidden service
46 46
     website. For the technical details of how the hidden service protocol
47 47
     works, see our <a href="<page docs/hidden-services>">hidden service
48 48
     protocol</a> page.
... ...
@@ -75,23 +74,24 @@
75 74
 
76 75
     <p>
77 76
     First, you need to set up a web server locally. Setting up a web
78
-    server can be tricky, so we're just going to go over a few basics
79
-    here. If you get stuck or want to do more, find a friend who can
80
-    help you. We recommend you install a new separate web server for
77
+    server can be complex. We're not going to cover how to setup a web
78
+    server here. If you get stuck or want to do more, find a friend who
79
+    can help you. We recommend you install a new separate web server for
81 80
     your hidden service, since even if you already have one installed,
82 81
     you may be using it (or want to use it later) for an actual website.
83 82
     </p>
84 83
 
85 84
     <p>
86
-    Once you've got your web server set up, make
85
+    Once your web server is set up, make
87 86
     sure it works: open your browser and go to <a
88
-    href="http://localhost:5222/">http://localhost:5222/</a>, where
89
-    5222 is the port that you picked above. Then try putting a file in
90
-    the main html directory, and make sure it shows up when you access
91
-    the site.  The reason we bind the web server only to localhost is to
92
-    make sure it isn't publically accessible. If people could get to it
93
-    directly, they could confirm that your computer is the one offering
94
-    the hidden service.
87
+    href="http://localhost:8080/">http://localhost:8080/</a>, where
88
+    8080 is the webserver port you chose during setup (you can choose any
89
+    port, 8080 is just an example). Then try putting a file in the main
90
+    html directory, and make sure it shows up when you access the site.
91
+    The reason we bind the web server only to localhost is to make sure
92
+    it isn't publically accessible. If people could get to it directly,
93
+    they could confirm that your computer is the one offering the
94
+    hidden service.
95 95
     </p>
96 96
 
97 97
     <hr>
... ...
@@ -103,10 +103,9 @@
103 103
     local web server.
104 104
     </p>
105 105
 
106
-    <p>First, open your torrc file in your favorite text editor. (See <a
107
-    href="<page docs/faq>#torrc">the
108
-    torrc FAQ entry</a> to learn what this means.) Go to the middle section and
109
-    look for the line</p>
106
+    <p>First, open your torrc file in your favorite text editor. (See
107
+    <a href="<page docs/faq>#torrc">the torrc FAQ entry</a> to learn
108
+    what this means.) Go to the middle section and look for the line</p>
110 109
 
111 110
     <pre>
112 111
     \############### This section is just for location-hidden services ###
... ...
@@ -135,7 +134,7 @@
135 134
 
136 135
     <pre>
137 136
     HiddenServiceDir /Library/Tor/var/lib/tor/hidden_service/
138
-    HiddenServicePort 80 127.0.0.1:5222
137
+    HiddenServicePort 80 127.0.0.1:8080
139 138
     </pre>
140 139
 
141 140
     <p>You're going to want to change the <var>HiddenServiceDir</var> line, so it points
... ...
@@ -145,12 +144,10 @@
145 144
     username in place of "username". On Windows you might pick:</p>
146 145
     <pre>
147 146
     HiddenServiceDir C:\Users\username\Documents\tor\hidden_service
148
-    HiddenServicePort 80 127.0.0.1:5222
147
+    HiddenServicePort 80 127.0.0.1:8080
149 148
     </pre>
150 149
 
151
-    <p>Now save the torrc, shut down
152
-    your Tor, and then start it again.
153
-    </p>
150
+    <p>Now save the torrc and restart your tor.</p>
154 151
 
155 152
     <p>If Tor starts up again, great. Otherwise, something is wrong. First look at
156 153
     your logfiles for hints. It will print some warnings or error messages. That
157 154