From 040c413181aa15f8d2ed7ab72fa56713810cb549 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 7 Mar 2003 08:58:18 +0000 Subject: [PATCH] Mention URL for stunnel etc SVN revision: 432 --- doc/adminguide.html | 16 +++++++++++++++- doc/config.html | 24 +++++++++++++++++------- 2 files changed, 32 insertions(+), 8 deletions(-) diff --git a/doc/adminguide.html b/doc/adminguide.html index de881ffc..11ae4740 100755 --- a/doc/adminguide.html +++ b/doc/adminguide.html @@ -146,11 +146,23 @@ ProxyPass /elog/ http://your.host.domain:8080/ Make sure that the Apache modules mod_proxy.c and mod_alias.c are activated. The Redirect statement is necessary to automatically append a "/" to a request like http://your.host.domain/elog. Apache then works as a proxy and forwards all requests -starint with /elog to the elogd daemon.

+staring with /elog to the elogd daemon.

+ +Because elogd uses links to itself (for example in the email notification and +the redirection after a submit), it has to know under which URL it is running. If you run it +under a proxy, you have to add the line:
+ +

+ +into elogd.cfg.

Note that the variable $remote_host cannot be used inside elogd since the remote host is always the proxy host (anybody knows how to fix that???).

+ +


Notes for the Solaris platform:

Martin Huber reports that @@ -287,6 +299,8 @@ on port 80, use a different port. Substitute the port 80 if you started elogd on another port. This causes stunnel to receive requests on the https port 443 and forward them to the elogd port.

+

  • Put the URL under which elogd runs into elogd.cfg:

    +

    URL = https://your.host.name/
  • Connect to your logbook with a browser which supports SSL via:

    https://your.host.name/
    diff --git a/doc/config.html b/doc/config.html index b6f6ffe3..4be984da 100755 --- a/doc/config.html +++ b/doc/config.html @@ -189,15 +189,25 @@ name you can get from your email program or your local system administrator. This option specifies a filename which logs all login/logout activities and successful user connections for logbooks with user level access.

    -

  • URL = <http://host.domain> +
  • URL = <http[s]://host.domain[:port]/[subdir/]>
    -This URL is used in automatic email notifications to point back to the new message. -Usually, the elog daemon tries to obtain the URL from the "Referer" statement in the -HTTP header. If this is not correct (like if the domain name is missing), the URL used -to point back to the logbook can be overwritten by this statement. The URL has to -contain the port number if not the standard port 80 is used like
    +If one of the three cases is true:

    +

    + +then the URL under which elogd is running has to be specified +manually with this statement. The URL has to +contain the port number if not the standard port 80 is used, it has to specify https:// +if used under stunnel, and it has to contain the directory if used under a proxy like

    -URL = http://host.domain:8080/ + + + + +
    URL = http://host.domain:8080/ if running on port 8080
    URL = https://host.domain/ if running under stunnel
    URL = http://host.domain/subdir/ if running under a proxy

  • Usr = <name>