Describe resource and logbook directories
SVN revision: 317
This commit is contained in:
+22
-9
@@ -230,7 +230,10 @@ and keep the other options as they are. After pressing "OK" the daemon should be
|
||||
<li><code>-p <port></code> : TCP port number to use for the http server (if other than 80)
|
||||
<li><code>-h <hostname or IP address></code> : in the case of a "multihomed" server, host name or IP address of the interface ELOG should run on
|
||||
<li><code>-D</code> : become a daemon (Unix only)
|
||||
<li><code>-c <file></code> : specify the configuration file (full path mandatory if -D is used)
|
||||
<li><code>-c <file></code> : specify the configuration file (full path mandatory if -D is used)
|
||||
<li><code>-s <dir></code> specify resource directory (themes, icons, ...)
|
||||
<li><code>-d <dir></code> specify logbook root directory
|
||||
|
||||
<li><code>-v </code> : verbose output for debugging
|
||||
<li><code>-k </code> : do not use TCP keep-alive
|
||||
</ul>
|
||||
@@ -244,15 +247,25 @@ It may also be used to generate passwords :
|
||||
<li><code>-a <pwd></code> : create/overwrite administrative password in config file
|
||||
<li><code>-l <logbook></code> : specify logbook for -r and -w commands
|
||||
</ul>
|
||||
|
||||
<p> The appearance, functionality and behaviour of the various logbooks on an <b>ELOG</b> server are
|
||||
determined by the single <b><code>elogd.cfg</code></b> file in the <b>ELOG</b> installation directory.
|
||||
<p>
|
||||
The appearance, functionality and behaviour of the various logbooks on an <b>ELOG</b> server are determined by the single <b><code>elogd.cfg</code></b> file in the <b>ELOG</b> installation directory.
|
||||
<p>
|
||||
This file may be edited directly from the file system, or from a form in the <b>ELOG</b> Web interface (when the <i>Config</i> menu item is available). In this case, changes are applied dynamically without having to restart the server.
|
||||
<p>
|
||||
The many options of this unique but very important file are documented on the separate <b><a href="config.html">elogd.cfg syntax page</a></b>.
|
||||
<p>
|
||||
To better control appearance and layout of the logbooks, <b><code>elogd.cfg</code></b> may optionally specify the use of additional files containing HTML code, and/or custom "<I>themes</I>" configurations. These need to be edited directly from the file system right now.
|
||||
<p>
|
||||
|
||||
This file may be edited directly from the file system, or from a form in the <b>ELOG</b> Web interface
|
||||
(when the <i>Config</i> menu item is available). In this case, changes are applied dynamically without
|
||||
having to restart the server. <p>
|
||||
|
||||
The many options of this unique but very important file are documented on the separate <b><a href=
|
||||
"config.html">elogd.cfg syntax page</a></b>.<p>
|
||||
|
||||
To better control appearance and layout of the logbooks, <b><code>elogd.cfg</code></b> may
|
||||
optionally specify the use of additional files containing HTML code, and/or custom "<I>themes</I>"
|
||||
configurations. These need to be edited directly from the file system right now. <p>
|
||||
|
||||
The meaning of the directory flags <b><code>-s</b></code> and <b><code>-d</b></code> is explained
|
||||
in the section covering the configuration options <b><code>Resource dir</b></code> and <b><code>
|
||||
Logbook dir</b></code> in the <b><a href="config.html">elogd.cfg description</a></b>.<p>
|
||||
|
||||
<hr><a name="secure">
|
||||
<div class=section> Secure Connections HOWTO </div>
|
||||
|
||||
+43
-19
@@ -51,7 +51,6 @@ SMTP host = mailsend.your.domain
|
||||
[Linux]
|
||||
Theme = default
|
||||
Comment = General linux tips and tricks
|
||||
Data dir = /usr/local/elog/linux
|
||||
Attributes = Author, Type, Category, Subject
|
||||
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
|
||||
Options Category = General, Hardware, Software, Network, Account, Other
|
||||
@@ -60,7 +59,6 @@ Required Attributes = Author
|
||||
|
||||
[PC]
|
||||
Comment = Database PC installations
|
||||
Data dir = /usr/local/elog/pc
|
||||
Attributes = Location, OS, Owner
|
||||
Options Location = Building1, Building2
|
||||
Options OS = Linux, Windows ME, Windows 2000
|
||||
@@ -91,6 +89,20 @@ Specifies the TCP port under which the server is listening. Default is 80. Can b
|
||||
via the '-p' command line flag.
|
||||
<p>
|
||||
|
||||
<LI><b><code>Resource dir = <directory></code></b>
|
||||
<br>
|
||||
Specifies the root directory for ELOG resources like help files, themes, icons and user HTML
|
||||
files. Can be overwritten with the <b><code>-s</code></b> flag when starting elogd. If not
|
||||
specified, use the directory where the configuration file <b><code>elogd.cfg</code></b> resides.
|
||||
<p>
|
||||
|
||||
<LI><b><code>Logbook dir = <directory></code></b>
|
||||
<br>
|
||||
Specifies the root directory for logbooks. Can be overwritten with the <b><code>-d</code></b> flag when
|
||||
starting elogd. If not specified, use the directory where the configuration file <b><code>elogd.cfg
|
||||
</code></b> resides. Each logbook data is stored in a separate directory under this root directory
|
||||
specified by the <b><code>Subdir</b></code> option. <p>
|
||||
|
||||
<LI><b><code>Language = <name></code></b>
|
||||
<br>
|
||||
|
||||
@@ -134,7 +146,7 @@ contents of the tab.
|
||||
<br>
|
||||
This optional HTML code gets displayed in the title of the logbook selection
|
||||
page. It can contain images via <b><code><img src="welcome.gif"></code></b>.
|
||||
These images must be in the same directory as the <b><code>elodg.cfg</b></code> file.
|
||||
These images must be stored in the resource directory.
|
||||
Alternatively, an absolute path can be used if the file name starts with a
|
||||
<b><code>"/"</code></b> (Unix) or <b><code>"\"</code></b> or <b><code>"x:"</code></b>
|
||||
(Windows).<br><br>
|
||||
@@ -155,8 +167,8 @@ used by most browsers for bookmark names.
|
||||
<LI><b><code>Selection page = <file></code></b>
|
||||
<br>
|
||||
When this option is present, a user defined file is displayed instead of the logbook
|
||||
selection page. This file must be in the same directory as the <code><b>elogd.cfg</b></code>
|
||||
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
|
||||
<b><code>"/"</code></b> (Unix) or <b><code>"\"</code></b> or <b><code>"x:"</code></b>
|
||||
(Windows).<br><br>
|
||||
|
||||
@@ -245,9 +257,19 @@ Here are the available options, by broad categories:<p>
|
||||
|
||||
<LI><b><code>Data dir = <directory></code></b>
|
||||
<br>
|
||||
This option is obsolete from version 2.2.5 on and should not be used. Use <b><code>Subdir = ...</b></code>
|
||||
instead.<p>
|
||||
|
||||
<LI><b><code>Subdir = <directory></code></b>
|
||||
<br>
|
||||
Each logbook has a separate directory where the logbook entries are stored, which
|
||||
is controlled by this statement. If the directory does not exist, it is created
|
||||
autmatically by the <code><b>elogd</b></code> program.
|
||||
autmatically by the <code><b>elogd</b></code> program. The subdirectory is relative
|
||||
to the logbook root directory specified with the <b><code>Logbook dir = ...</code></b>
|
||||
option. So if <b><code>Logbook dir = /usr/local/elog/logbooks</b></code> and
|
||||
<b><code>Subdir = Demo</b></code> then the logbook data is stored in <b><code>
|
||||
/user/local/elog/logbooks/Demo</b></code>. If the subdirectory starts with a "/"
|
||||
("\" under Windows), then it is used as an absolute path independent of the logbook dir.
|
||||
<p>
|
||||
|
||||
<LI><b><code>Number Attachments = <number></code></b>
|
||||
@@ -268,9 +290,9 @@ explicitly specified in the URL.
|
||||
<br>
|
||||
A theme determines which layout and colors are used for a logbook, similar to
|
||||
<i>skins</i> in other programs. The <i>theme</i> option points to a subdirectory
|
||||
under the directory of the configuration file, which contains all files for
|
||||
that theme. The format of these files is described under the <i>Themes</i>
|
||||
section.
|
||||
under the <i>"themes"</i> directory which resides in the resource directory.
|
||||
It contains all files for that theme. The format of these files is described under
|
||||
the <i>Themes</i> section.
|
||||
<p>
|
||||
|
||||
<LI><b><code>Date format = <string></code></b>
|
||||
@@ -297,7 +319,7 @@ messages of for logbook queries. Here is a simple example of such a file:
|
||||
</ul>
|
||||
</pre>
|
||||
|
||||
The file must be present in the same directory as the <code><b>elogd</b></code> file.
|
||||
The file must be present in the resource directory.
|
||||
Alternatively, an absolute path can be used if the file name starts with a
|
||||
<b><code>"/"</code></b> (Unix) or <b><code>"\"</code></b> or <b><code>"x:"</code></b>
|
||||
(Windows).
|
||||
@@ -328,7 +350,7 @@ Here is an example:
|
||||
<a href="?cmd=New">Enter</a> another message
|
||||
</pre>
|
||||
|
||||
The file must be present in the same directory as the <code><b>elogd</b></code> file.
|
||||
The file must be present in the resource directory.
|
||||
Alternatively, an absolute path can be used if the file name starts with a
|
||||
<b><code>"/"</code></b> (Unix) or <b><code>"\"</code></b> or <b><code>"x:"</code></b>
|
||||
(Windows).
|
||||
@@ -451,20 +473,22 @@ example a link back to the main logbook selection page like:
|
||||
<center><a href="/">Main page</a></center>
|
||||
</pre>
|
||||
|
||||
Or it can contain other useful links. The file must be present in the same directory as the
|
||||
<code><b>elogd.cfg</b></code> 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 <b><code>"/"</code></b> (Unix) or <b><code>"\"</code></b> or <b><code>
|
||||
"x:"</code></b> (Windows).
|
||||
|
||||
<p>
|
||||
|
||||
<li><b><code>Help URL = <URL></code></b>
|
||||
|
||||
<br>
|
||||
This URL is used for the Help button. By default, the file <b>eloghelp_xx.html</b> is
|
||||
returned with the contents of the help page. Edit this file directly to add site-specific help for all logbooks. Alternatively, use the <b><code>Help URL</code></b> option to specify different help pages for different logbooks.
|
||||
It can point to a site-specific help page via <b><code>http://...</code></b> or to a local file like
|
||||
<b><code>file://c:/tmp/config.html</code></b>, or to the name of an HTML file which must be present in the same directory as the <code><b>elogd</b></code> file.
|
||||
<p>
|
||||
This URL is used for the Help button. By default, the file <b>eloghelp_xx.html</b> is returned with
|
||||
the contents of the help page. Edit this file directly to add site-specific help for all logbooks.
|
||||
Alternatively, use the <b><code>Help URL</code></b> option to specify different help pages for different
|
||||
logbooks. It can point to a site-specific help page via <b><code>http://...</code></b> or to a local
|
||||
file like <b><code>file://c:/tmp/config.html</code></b>, or to the name of an HTML file which must be
|
||||
present in the resource directory. <p>
|
||||
|
||||
<li><b><code>Message Width = <number></code></b>
|
||||
<br>
|
||||
@@ -573,7 +597,7 @@ down box by default.
|
||||
<LI><b><code>Preset text = <string> or <file></code></b>
|
||||
<br>
|
||||
This preset value is used for the main body text. It can be a string or a file,
|
||||
which must be present in the same directory as the <code><b>elogd.cfg</b></code> file.
|
||||
which must be present in the resource directory.
|
||||
Alternatively, an absolute path can be used if the file name starts with a
|
||||
<b><code>"/"</code></b> (Unix) or <b><code>"\"</code></b> or <b><code>"x:"</code></b>
|
||||
(Windows).
|
||||
|
||||
Reference in New Issue
Block a user