about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--INSTALL2
-rw-r--r--doc/index.html10
-rw-r--r--doc/tipideed.html20
3 files changed, 20 insertions, 12 deletions
diff --git a/INSTALL b/INSTALL
index 124ce2b..ad5c866 100644
--- a/INSTALL
+++ b/INSTALL
@@ -7,7 +7,7 @@ Build Instructions
   - A POSIX-compliant C development environment
   - GNU make version 3.81 or later
   - skalibs version 2.14.0.0 or later: https://skarnet.org/software/skalibs/
-  - (optional but recommended): s6-networking version 2.5.1.4 or later:
+  - (optional but recommended): s6-networking version 2.6.0.0 or later:
       https://skarnet.org/software/s6-networking/
 
  This software will run on any operating system that implements
diff --git a/doc/index.html b/doc/index.html
index b30b01a..da7aa73 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -116,17 +116,17 @@ is going on with the code, too.
 requirement if you link against the shared version of the skalibs
 library. </li>
  <li> Recommended at run-time: <a href="//skarnet.org/software/s6-networking/">s6-networking</a> version
-2.5.1.4 or later. It's not a strict requirement, but tipidee relies
-on a super-server to listen to the network and provide connection
+2.6.0.0 or later. It's not a strict requirement, but tipidee relies on a super-server such as
+<a href="//skarnet.org/software/s6-networking/s6-tcpserver.html">s6-tcpserver</a>
+to listen to the network and provide connection
 information via environment variables. It also defers to tools such as
 <a href="//skarnet.org/software/s6-networking/s6-tcpserver-access.html">s6-tcpserver-access</a>
 to provide access control and connection fine-tuning. And if you want
 to run an HTTPS server, you'll need something like
 <a href="//skarnet.org/software/s6-networking/s6-tlsserver.html">s6-tlsserver</a>
-to manage the TLS transport layer. It <em>will</em> make
-your life easier.
+to manage the TLS transport layer. It <em>will</em> make your life easier.
  <ul>
-  <li> Also, when built with BearSSL,
+  <li> When built with BearSSL,
 <a href="//skarnet.org/software/s6-networking/s6-tlsserver.html">s6-tlsserver</a>
 basically gives you a TLS tunnel <em>for free</em>. Bearly any RAM use.
 Don't take my word for it; try it out for yourself. </li>
diff --git a/doc/tipideed.html b/doc/tipideed.html
index 2fa626a..8f080bc 100644
--- a/doc/tipideed.html
+++ b/doc/tipideed.html
@@ -158,9 +158,9 @@ uses them to get more information.
  <dt> TCPLOCALHOST </dt>
  <dd> The default domain name associated to the local IP address. It will be
 passed as <tt>SERVER_NAME</tt> to CGI scripts when the requested URI does
-not mention a Host, i.e. in HTTP/1.0 requests. If this variable is absent,
-the default will be set to the local IP address itself (between square
-brackets if IPv6). </dd>
+not mention a Host, i.e. in HTTP/1.0 requests without a full request URL.
+If this variable is absent, the default will be set to the local IP address
+itself (between square brackets if IPv6). </dd>
 
  <dt> TCPLOCALPORT </dt>
  <dd> The port the server is bound to. It will be passed as <tt>SERVER_PORT</tt>
@@ -322,9 +322,17 @@ your <tt>/etc/passwd</tt> file, tipideed will keep it safe.
 
 <p>
  HTTP/1.0 does not have the concepts of virtual hosts. For HTTP/1.0
-requests that do not provide a full URL, tipideed will use a default
-host name of <tt>@</tt> (at), so documents will likely be looked for
-under <tt>@:80</tt> or <tt>@:443</tt>.
+requests that do not provide a full URL, tipideed will use the value
+it reads from the TCPLOCALHOST variable, which is normally the result
+of a reverse DNS lookup on the server's address. You can override the
+lookup and provide your own value by giving the <tt>-l</tt> option to
+<a href="//skarnet.org/software/s6-networking/s6-tcpserver-access.html">s6-tcpserver-access</a> or
+<a href="//skarnet.org/software/s6-networking/s6-tlsserver.html">s6-tlsserver</a>.
+If TCPLOCALHOST does not exist or is empty, a fallback value of
+<tt>@</tt> (at), will be used. So if you aren't calling
+<a href="//skarnet.org/software/s6-networking/s6-tcpserver-access.html">s6-tcpserver-access</a>
+at all, your documents will most likely be accessible for HTTP/1.0 clients under
+<tt>@:80</tt> or <tt>@:443</tt>.
 </p>
 
 <div id="details">