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:
+
+
+URL = http://your.proxy.host/subdir/ +
+ +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???).
+ +
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.
+
elogd runs into elogd.cfg:+
URL = https://your.host.name/
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/]>
+
elogd runs with stunnel
+elogd runs under a proxy
+
+
+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>