Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 322 of 808  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Category OSdown ELOG Version Subject
  69842   Mon Dec 2 10:36:41 2024 Entry Dr Marta Divallmarta.divall@epfl.chQuestionLinux | WindowsELOG V3.1.3-a38Global change of links/file path

Dear All, 

 We have been using the ELOG for several years and had inserted hyper-links instead of whole files in order to save storage space. From this month our server is moved to a new location with a new address. Is there a way for me to retrospectivelly replace all addresses with the new server file pass?

Thanks in advance, 

Best regards,

 Marta

  570   Tue Jul 6 23:37:02 2004 Question Glevineg@med.govt.nzQuestionLinux | Other2.5.3ELOG & Selection Page
Hello to all,

I'm trying to get ELOG to run several separate logbooks which will
eventually have their own password/user files and other little things.
The problem I have is I want to have a main selection type page so when a
user enters ELOG they see this page with links on it to main logbook groups.

So, for my example I'd have a main page INDEX1.HTML which has links to:
  /Server_Logbooks
  /Other_Logbooks

but I want those top groups to just show standard ELOG generated logbook
list once you select a link on index1.html page.
Unfortunately "Selection page = index1.html" if defined in [global] just
gets used everywhere, so once I click on a link to go to
http://elog.blah.internal/Server_Logbooks it just shows the same index1.html
selection page. So I never get to the actual logbook list...
I could make separate selection pages for each top logbook group,
but that means that I have to alter those HTML files every time I add or
remove a logbook. I'd ruther have ELOG generate those pages on the fly.

Is there any way to do this?
Could I tell ELOG not to use a selection page at all for a particular group
of logbooks, and just show the logbook list.

Thank you very much.

GL.

//ELOG on FreeBSD 5.2//
Attachment 1: elogd_cfg_sample.txt
[global]
Usr = elog
Grp = elog
logbook tabs = 1
port = 80
SMTP host = mail.blah.internal
Use Email From = elog@elog.blah.internal
Theme = default
Reverse Sort = 1
Time format = %e/%m/%y %k:%M
Display Email recipients = 0
Logbook dir = /usr/store/elog_logbooks/
Resource dir = /usr/local/elog/
Display mode = threaded
Main Tab = HOME
Selection page = index1.html

## Server_Logbooks Groups
Group AKB = akb01, akb26
Group AKC = akc03, akc19

## Other_Logbooks Groups
Group VC = akb-VC, chb-VC

Top group Server_Logbooks = AKB, AKC
Top group Other_Logbooks = AD, DNS, Network, VC

[global Server_Logbooks]
Logfile = srv_logbook_accesslog

[akb01]
Comment = akb01 - other server
Subdir = akb/01
Attributes = Work done by, Work done at (dd/mm/yy hh:mm), Downtime duration, Planned
Preset Work done by = $short_name
Preset Work done at (dd/mm/yy hh:mm) = $date
Preset Downtime duration = 0 min
Options Planned = Yes, No
Required Attributes = Work done by, Planned

[akb26]
Comment = akb26 - some server
Subdir = akb/26
Attributes = Work done by, Work done at (dd/mm/yy hh:mm), Downtime duration, Planned
Preset Work done by = $short_name
Preset Work done at (dd/mm/yy hh:mm) = $date
Preset Downtime duration = 0 min
Options Planned = Yes, No
Required Attributes = Work done by, Planned


[global Other_Logbooks]
Logfile = other_logbook_accesslog

[AD]
Comment = Active Directory
Subdir = misc/AD
Attributes = Work done by, Work done at (dd/mm/yy hh:mm), Downtime duration, Planned
Preset Work done by = $short_name
Preset Work done at (dd/mm/yy hh:mm) = $date
Preset Downtime duration = 0 min
Options Planned = Yes, No
Required Attributes = Work done by, Planned

[DNS]
Comment = DNS System
Subdir = misc/DNS
Attributes = Work done by, Work done at (dd/mm/yy hh:mm), Downtime duration, Planned
Preset Work done by = $short_name
Preset Work done at (dd/mm/yy hh:mm) = $date
Preset Downtime duration = 0 min
Options Planned = Yes, No
Required Attributes = Work done by, Planned

[Network]
Comment = Network changes - LAN, WAN
Subdir = misc/Network
Attributes = Work done by, Work done at (dd/mm/yy hh:mm), Location, Downtime duration
Preset Work done by = $short_name
Preset Work done at (dd/mm/yy hh:mm) = $date
Preset Downtime duration = 0 min
Options Planned = Yes, No
Required Attributes = Work done by, Planned

[akb-VC]
Comment = AKB Video
Subdir = misc/VC/akb-VC
Attributes = Work done by, Work done at (dd/mm/yy hh:mm), Downtime duration, Planned
Preset Work done by = $short_name
Preset Work done at (dd/mm/yy hh:mm) = $date
Preset Downtime duration = 0 min
Options Planned = Yes, No
Required Attributes = Work done by, Planned
Display Email recipients = 1

[chb-VC]
Comment = CHB Video
Subdir = misc/VC/chb-VC
Attributes = Work done by, Work done at (dd/mm/yy hh:mm), Downtime duration, Planned
Preset Work done by = $short_name
Preset Work done at (dd/mm/yy hh:mm) = $date
Preset Downtime duration = 0 min
Options Planned = Yes, No
Required Attributes = Work done by, Planned
Display Email recipients = 1
  575   Thu Jul 8 22:01:06 2004 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Other2.5.3Re: ELOG & Selection Page
> The problem I have is I want to have a main selection type page so when a
> user enters ELOG they see this page with links on it to main logbook groups.

I added a new flag

Show top groups = 1

which shows the list of to groups. Hope this is what you want. The new version
is available from CVS (see download page).
  576   Thu Jul 8 23:41:43 2004 Reply Glevineg@med.govt.nzQuestionLinux | Other2.5.3Re: ELOG & Selection Page
Great! That takes care of the problem for sure.

Cheers once again for such a quick response.

GL.


//we use ELog very extensively internally, it's great, especially now with
replication//


> > The problem I have is I want to have a main selection type page so when a
> > user enters ELOG they see this page with links on it to main logbook groups.
> 
> I added a new flag
> 
> Show top groups = 1
> 
> which shows the list of to groups. Hope this is what you want. The new version
> is available from CVS (see download page).
  1137   Mon May 9 20:23:59 2005 Question Steve Jonessteve.jones@freescale.comQuestionLinux | Other2.5.9Version of GCC to use?
What is the recommended version of gcc to use with elog 2.5.9?  I searched
the discussion database but found nothing pertaining to this. 

Thanks  
  1138   Mon May 9 20:47:02 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Other2.5.9Re: Version of GCC to use?
> What is the recommended version of gcc to use with elog 2.5.9?  I searched
> the discussion database but found nothing pertaining to this. 

Well, the same code compiles on gcc and on Visual C++ under Windows, so
hopefully there is no dependence on the gcc version (;-)

I use gcc 3.2.3 on Scientific Linux 3.03.
  1139   Mon May 9 20:51:23 2005 Reply Steve Jonessteve.jones@freescale.comQuestionLinux | Other2.5.9Re: Version of GCC to use?
> > What is the recommended version of gcc to use with elog 2.5.9?  I searched
> > the discussion database but found nothing pertaining to this. 
> 
> Well, the same code compiles on gcc and on Visual C++ under Windows, so
> hopefully there is no dependence on the gcc version (;-)
> 
> I use gcc 3.2.3 on Scientific Linux 3.03.

I ask because I get a dependency that I did not have before with 2.5.3. 
Compiling with my same 'ole gcc 2.95.2 I see that I now need mxml.h and
strlcpy.h.  Trying to compile under gcc 3.4 results in all kinds of errors.
  1140   Mon May 9 20:55:36 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Other2.5.9Re: Version of GCC to use?
> I ask because I get a dependency that I did not have before with 2.5.3. 
> Compiling with my same 'ole gcc 2.95.2 I see that I now need mxml.h and
> strlcpy.h.  Trying to compile under gcc 3.4 results in all kinds of errors.

mxml.h and strlcpy.h are part of the elog tar ball. When untar'ed, they get copied
into a separate directory:

...
-rwxr-xr-x ritt/lke      15090 2005-05-09 13:09:54 elog-2.5.9/eloglang.japanese
-rwxr-xr-x ritt/lke      17587 2005-05-09 13:09:54 elog-2.5.9/eloglang.spanish
drwxr-xr-x ritt/lke          0 2005-05-09 13:09:54 mxml/
-rwxr-xr-x ritt/lke      45577 2005-05-09 13:09:54 mxml/mxml.c
-rwxr-xr-x ritt/lke       2198 2005-05-09 13:09:54 mxml/strlcpy.c
-rwxr-xr-x ritt/lke       4359 2005-05-09 13:09:54 mxml/mxml.h
-rwxr-xr-x ritt/lke        567 2005-05-09 13:09:54 mxml/strlcpy.h

I have right now no access to 3.4. Once I get it, I will address the errors
occuring there.
ELOG V3.1.5-3fb85fa6