]> code.citadel.org Git - citadel.git/blobdiff - webcit/README.txt
* Added the "-c" command line option to generate optional cookies indicating
[citadel.git] / webcit / README.txt
index 658e019c2480cd41f549e6cde93096b13857b788..4dd93b1964043bfdf9a34e292a1b0b96cf7383d5 100644 (file)
@@ -61,11 +61,11 @@ any reason.  Open /etc/inittab and add an entry something like this:
  Several command-line options are also available.  Here's the usage for
 the "webserver" program:
   
- webserver [-p localport] [-t tracefile] [remotehost [remoteport]]
+ webserver [-p localport] [-t tracefile] [-c] [remotehost [remoteport]]
  
    *or*
  
- webserver [-p localport] [-t tracefile] uds /your/citadel/directory
+ webserver [-p localport] [-t tracefile] [-c] uds /your/citadel/directory
  
  Explained: 
   
@@ -77,6 +77,13 @@ the "webserver" program:
   -> tracefile: where you want WebCit to log to.  This can be a file, a
      virtual console, or /dev/null to suppress logging altogether.
  
+  -> The "-c" option causes WebCit to output an extra cookie containing the
+     identity of the WebCit server.  The cookie will look like this:
+       Set-cookie: wcserver=your.host.name
+     This is useful if you have a cluster of WebCit servers sitting behind a
+     load balancer, and the load balancer has the ability to use cookies to
+     keep track of which server to send HTTP requests to.
   -> remotehost: the name or IP address of the host on which your Citadel/UX
      server is running.  The default is "localhost".  (NOTE: if you run
      WebCit and the Citadel/UX server on different hosts, the real-time chat