diff --git a/doc/adminguide.html b/doc/adminguide.html index 2ff6e75f..7cfce440 100755 --- a/doc/adminguide.html +++ b/doc/adminguide.html @@ -230,7 +230,10 @@ and keep the other options as they are. After pressing "OK" the daemon should be
-p <port> : TCP port number to use for the http server (if other than 80)
-h <hostname or IP address> : in the case of a "multihomed" server, host name or IP address of the interface ELOG should run on
-D : become a daemon (Unix only)
--c <file> : specify the configuration file (full path mandatory if -D is used)
+-c <file> : specify the configuration file (full path mandatory if -D is used)
+-s <dir> specify resource directory (themes, icons, ...)
+-d <dir> specify logbook root directory
+
-v : verbose output for debugging
-k : do not use TCP keep-alive
@@ -244,15 +247,25 @@ It may also be used to generate passwords :
-a <pwd> : create/overwrite administrative password in config file
-l <logbook> : specify logbook for -r and -w commands
+
+ The appearance, functionality and behaviour of the various logbooks on an ELOG server are
+determined by the single elogd.cfg file in the ELOG installation directory.
-The appearance, functionality and behaviour of the various logbooks on an ELOG server are determined by the single elogd.cfg file in the ELOG installation directory.
-
-This file may be edited directly from the file system, or from a form in the ELOG Web interface (when the Config menu item is available). In this case, changes are applied dynamically without having to restart the server. -
-The many options of this unique but very important file are documented on the separate elogd.cfg syntax page. -
-To better control appearance and layout of the logbooks, elogd.cfg may optionally specify the use of additional files containing HTML code, and/or custom "themes" configurations. These need to be edited directly from the file system right now.
-
+ +This file may be edited directly from the file system, or from a form in the ELOG Web interface +(when the Config menu item is available). In this case, changes are applied dynamically without +having to restart the server.
+ +The many options of this unique but very important file are documented on the separate elogd.cfg syntax page.
+
+To better control appearance and layout of the logbooks, elogd.cfg may
+optionally specify the use of additional files containing HTML code, and/or custom "themes"
+configurations. These need to be edited directly from the file system right now.
+
+The meaning of the directory flags -s and -d is explained
+in the section covering the configuration options Resource dir and
+Logbook dir in the elogd.cfg description.
+
Resource dir = <directory>
+-s flag when starting elogd. If not
+specified, use the directory where the configuration file elogd.cfg resides.
++ +
Logbook dir = <directory>
+-d flag when
+starting elogd. If not specified, use the directory where the configuration file elogd.cfg
+ resides. Each logbook data is stored in a separate directory under this root directory
+specified by the Subdir option. +
Language = <name>
<img src="welcome.gif">.
-These images must be in the same directory as the elodg.cfg file.
+These images must be stored in the resource directory.
Alternatively, an absolute path can be used if the file name starts with a
"/" (Unix) or "\" or "x:"
(Windows).Selection page = <file>
elogd.cfg
-file. Alternatively, an absolute path can be used if the file name starts with a
+selection page. This file must be stored in the resource directory. Alternatively, an
+absolute path can be used if the file name starts with a
"/" (Unix) or "\" or "x:"
(Windows).
Data dir = <directory>
Subdir = ...
+instead.+ +
Subdir = <directory>
+elogd program.
+autmatically by the elogd program. The subdirectory is relative
+to the logbook root directory specified with the Logbook dir = ...
+option. So if Logbook dir = /usr/local/elog/logbooks and
+Subdir = Demo then the logbook data is stored in
+/user/local/elog/logbooks/Demo. If the subdirectory starts with a "/"
+("\" under Windows), then it is used as an absolute path independent of the logbook dir.
Number Attachments = <number>
@@ -268,9 +290,9 @@ explicitly specified in the URL.
Date format = <string>
@@ -297,7 +319,7 @@ messages of for logbook queries. Here is a simple example of such a file:
</ul>
-The file must be present in the same directory as the elogd file.
+The file must be present in the resource directory.
Alternatively, an absolute path can be used if the file name starts with a
"/" (Unix) or "\" or "x:"
(Windows).
@@ -328,7 +350,7 @@ Here is an example:
<a href="?cmd=New">Enter</a> another message
-The file must be present in the same directory as the elogd file.
+The file must be present in the resource directory.
Alternatively, an absolute path can be used if the file name starts with a
"/" (Unix) or "\" or "x:"
(Windows).
@@ -451,20 +473,22 @@ example a link back to the main logbook selection page like:
<center><a href="/">Main page</a></center>
-Or it can contain other useful links. The file must be present in the same directory as the
-elogd.cfg file. Alternatively, an absolute path can be used if the file
+Or it can contain other useful links. The file must be present in the resource directory.
+Alternatively, an absolute path can be used if the file
name starts with a "/" (Unix) or "\" or
"x:" (Windows).
Help URL = <URL>
+
Help URL option to specify different help pages for different logbooks.
-It can point to a site-specific help page via http://... or to a local file like
-file://c:/tmp/config.html, or to the name of an HTML file which must be present in the same directory as the elogd file.
-
+This URL is used for the Help button. By default, the file eloghelp_xx.html is returned with
+the contents of the help page. Edit this file directly to add site-specific help for all logbooks.
+Alternatively, use the Help URL option to specify different help pages for different
+logbooks. It can point to a site-specific help page via http://... or to a local
+file like file://c:/tmp/config.html, or to the name of an HTML file which must be
+present in the resource directory.
Message Width = <number>
Preset text = <string> or <file>
elogd.cfg file.
+which must be present in the resource directory.
Alternatively, an absolute path can be used if the file name starts with a
"/" (Unix) or "\" or "x:"
(Windows).