Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 601 of 808  Not logged in ELOG logo
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  2110   Sat Jan 13 17:35:45 2007 Question Exaos LeeExaos.Lee@gmail.comQuestion  How many topgroups can be defined?
I defined 6 top groups in my cfg file as the attachment.
But ... It doesn't work as I wanted.
The 4th and 5th groups need login. But when I clicked the 4th or 5th group, the login isn't needed.
And the 4th and 5th password files are not generated automatically.
Attachment 1: cndl.cfg
[global]
port = 7466
Language = zh_CN-UTF8
charset = utf-8
URL = https://10.10.65.222/elog
Resource dir = /usr/local/elog
Logfile = cndl-elogd.log
Logbook dir = /var/elog/cndl-logbooks

;; SMTP 设置,用于电子邮件发送 
SMTP host = mails.ciae.ac.cn
SMTP username = gr13
SMTP password = Z3IxMw==

; 标题
Welcome Title = <p><b>欢迎访问核数据实验室电子记录本</b></p>
Page title = 十三室电子记录本
Usr = ntofadm
Grp = admin

;;================ 公用的显示设置 ==============
Time format = %F, %T
Date format = %F %T
Theme = default
Display mode = threaded
Entries per page = 20
Reverse sort = 1

;;============= 讨论组 ==========================
Group 0.Demo = 记录本测试
;;数据获取, 数据分析, 软件模拟, 室内活动
Group 1.Public = 数据采集,数据分析,软件模拟,十三室
;; NTOF 组
Group 2.NTOF = NTOF组,NTOF项目
Group NTOF项目 = 共振参数
;; CIHENP 组
Group 3.CIHENP = CIHENP组,CIHENP项目
Group CIHENP项目 = 特洛依木马实验,ALICE项目,CIHENP集群管理
;; 裂变产额组
Group 4.FissionYield = 裂变产额项目,CARR-ISOL
Group 裂变产额项目 = U235裂变产额测量
Group CARR-ISOL = ISOL,ISOL实验
Group ISOL实验 = ISOL实验预研
;; 合作单位
Group 5.Coorperation = 西北核技术所
Group 西北核技术所 = 探测器标定,反冲质子谱仪

;;=============== TOP Groups ===================
Show top groups = 1
Top group 0.Demo = 记录本测试
Top group 1.Public = 数据采集,数据分析,软件模拟,十三室
Top group 2.NTOF = NTOF组,NTOF项目
Top group 3.CIHENP = CIHENP组,CIHENP项目
Top group 4.FissionYield = 裂变产额项目,CARR-ISOL
Top group 5.Coorperation = 西北核技术所

[global 1.Public]
Password file = public.pwd
Admin user = exaos
Self register = 1

[global 2.NTOF]
;; 管理权限设置
Password file = ntof.pwd
Admin user = exaos
Self register = 1

[global 3.CIHENP]
;; 管理权限设置
Password file = cihenp.pwd
Admin user = lixm,licb
Self register = 1

[global 4.FissionYield]
;; 管理权限设置
Password file = fissionyield.pwd
Admin user = yangyi
Self register = 1

[global 5.Coorperation]
;; 管理权限设置
Password file = others.pwd
Admin user = exaos,kogun
Self register = 1

[global 0.Demo]
Quick filter = 日期,类别
Attributes = 作者,类别,标题


[记录本测试]
Comment = 实验记录本演示
Subdir = Demo/Demo
Page Title = ELOG - $subject
;; 属性设置
Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Options 类别 = 程序错误, 功能建议, 求助, 其它, 功能测试

[数据采集]
Subdir = Public/DAQ
Comment = 数据采集系统的调试与开发
;; 匿名权限:只读,不可写
Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别
Options 类别 = VME, CAMAC, 其它设备, MIDAS, Kmax/KmaxNT, KODAQ, XSYS, 其它软件, 程序开发, 其它
Page Title = ELOG - $subject

[数据分析]
Subdir = Public/Analysis
Comment = 数据分析的软件及相关讨论
;; 匿名权限:只读,不可写
Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别
Options 类别 = 分析理论, ROOT, PAW, Origin, Maestro, 自备程序, 其它
Page Title = ELOG - $subject

[软件模拟]
Subdir = Public/Simulation
Comment = 实验的软件模拟
Options 类别 = MC 理论, MCNP(X), GEANT3/4, FLUKA, EGS, 程序开发, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[十三室]
Subdir = Public/Lab13
Comment = 十三室的建设、活动、通知等
Options 类别 = 通知,全室活动,实验室建设, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[NTOF组]
Subdir = NTOF/NTOF
Comment = 中子能谱组的相关工作及讨论
Options 类别 = 通知,工作安排,活动讨论,其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[共振参数]
Subdir = NTOF/RPM
Comment = 共振参数的测量方法研究
Options 类别 = 实验方案, 仪器调试, 数据采集, 数据分析, 结果讨论, 分析软件, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[CIHENP组]
Subdir = CIHENP/CIHENP
Comment = 中高能物理组的相关工作及讨论
Options 类别 = 通知,工作安排,活动讨论,其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[特洛依木马实验]
Subdir = CIHENP/Trojan-Horse
Comment = 使用特洛依木马方法的相关实验讨论
Options 类别 = 木马理论, 实验方案, 仪器调试, 数据采集, 数据分析, 结果讨论, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[ALICE项目]
Subdir = CIHENP/ALICE
Comment = ALICE 实验项目
Options 类别 = AliROOT, 理论, 模拟与分析, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[CIHENP集群管理]
Subdir = CIHENP/PCFarm
Comment = 中高能物理组的集群计算系统的管理
Options 类别 = 硬件管理, 软件环境设置, 用户需求, 计算技术, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[探测器标定]
Subdir = Others/NINT/DetResp
Comment = 核测试用探测器的标定
Options 类别 = 标定实验, 数据分析, 结果讨论, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[反冲质子谱仪]
Subdir = Others/NINT/MPRS
Comment = 反冲质子磁谱仪实验
Options 类别 = 实验方案, 仪器调试, 数据采集, 数据分析, 结果讨论, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[ISOL]
Subdir = FissionYield/ISOL
Comment = 在线同位素分离器的建设与调试
Options 类别 = 仪器故障, 设备更新, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[ISOL实验预研]
Subdir = FissionYield/ISOL-Exps
Comments = 在线同位素分离器上的实验预研
Options 类别 = 实验方案, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
... 24 more lines ...
  2112   Mon Jan 15 09:56:09 2007 Question Ian MacDonaldelog@irm.thamespower.comQuestionAllELOG V2.6.Addition of a Print CSS
Is there any way to change the the embeded style sheet reference to allow a seperate style sheet for printing ?

Default config:-
<link rel="stylesheet" type="text/css" href="default.css">

Would like to configure to :-

<link rel="stylesheet" type="text/css" href="default.css media="screen">
<link rel="stylesheet" type="text/css" href="print.css" media="print">

Thanks
  2120   Thu Jan 18 16:29:43 2007 Question Alexandre Lindotealex@lipc.fis.uc.ptQuestionLinux | Mac OSX2.6.3-1762Synchronization using https
Hi,

I have an elog server running on a linux desktop machine inside our institutional firewall. It can be accessed from inside the firewall directly using http, but users from outside have to use https, with apache (and its ssl module) controlling the access.
I also set up another server on my laptop, just for backup purposes, and synchronized it inside the firewall (using a direct http connection). No problems there!
Now we want to have several servers set up (in different institutions), and have them synchronized automatically. For this I installed elog on a mac server (in another institution, so outside our firewall), also accessible only through https (again using apache).
I configured all the required mirror settings, but always get an error: "Remote server is not an ELOG server".
I've tried changing the status of the 2 machines (server-client), but get the same error...
I also tried different approaches for the Mirror server parameter, like
https://the.remote.server
https://the.remote.server:443
http://the.remote.server:443
but no luck...

Running elog with the -D flag off issued this message:

Quote:
HTTP/1.1 401 Authorization Required
Date: Thu, 18 Jan 2007 15:22:10 GMT
Server: Apache/1.3.33 (Darwin) DAV/1.0.3 mod_ssl/2.8.24 OpenSSL/0.9.7l
WWW-Authenticate: Basic realm="zeplin2"
Connection: close
Content-Type: text/html; charset=iso-8859-1

Authorization Required

This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.

Apache/1.3.33 Server at shalott.pp.rl.ac.uk Port 80


The servers have user level passwords, and I'm mirroring with Mirror user parameter set to the administrator...
Any ideas?

Thanks in advance

Alex
  2126   Tue Feb 13 15:11:18 2007 Question Marcus Hausermhauser@lsw.uni-heidelberg.deQuestionLinux2.6.3-1762Re: Synchronization using https

Stefan Ritt wrote:

Alexandre Lindote wrote:
Now we want to have several servers set up (in different institutions), and have them synchronized automatically.


Synchronization works such that the "client" elogd (the one on which the synchronization is started) "emulates" a browser and accesses the other elogd server. Since SSL is not built into elogd, it can only use the http protocol, not https. If you want secure synchronization, the only chance you have is to make a SSH tunnel on which you run the http protocol for synchronization.



Would it be possible to use rsync to syncronise two elogd servers on different servers via secure synchronization on the file level?
E.g.
rsync -av -e ssh /var/lib/elog/logbooks/ elog.remote.de:/var/lib/elog/logbooks/
  2128   Tue Feb 13 15:57:25 2007 Question bobbobgrang@yahoo.frQuestionLinux | WindowsV2.6.3-177About Extendable
Hi,

I have a problem and I do not understand why

my config is

"
{tdl} Show Attributes = De, He, Auteur, Ten, TDL
{tdl} Options TDL = de, fr, gt
{tdl} Extendable Options = TDL
"

I play with {tdl}, i add TDL (toto),

and after that, i open my config:

"{tdl} Show Attributes = De, He, Auteur, Ten, TDL
{tdl} Options TDL = de, fr, gt, toto, toto
{tdl} Extendable Options = TDL
"
And my preview is wrong !!

why 2 * toto thus?

thanks a lot

Bob
  2134   Wed Feb 14 16:46:27 2007 Question bobbobgrang@yahoo.frQuestionLinux | WindowsV2.6.3-177Required and {}
Hi,
I still have a question,

is it possible to use : Required and {}

here my program :"
.
{run} Required Attributes = Date evenement, Heure evenement, ...
{run} Show Attributes = Date evenement, Heure evenement, ...
.
.
.
{etuvage & ANS} Required Attributes = Date evenement, Heure evenement, ...
{etuvage & ANS} Show Attributes = Date evenement, Heure evenement, ...
"
generally, can one handle "Required" and "{}" or "{ , }", ...

in any case for me, that does not go
this is normal ??

Thanks
Bob
  2135   Fri Feb 16 12:08:19 2007 Question Ben Waughwaugh@hep.ucl.ac.ukQuestionLinux2.6.3-1762Setting From: for registration/password e-mails
We had a problem, as mentioned in the documentation, with "new password" e-mails being rejected because the default From: address is invalid, so we changed this using "Use Email From".

According to the documentation, "By default, the email address of the currently logged in user is used for the "From:" field. If no user is logged in, or the current user has not specified a email address in the password database, the setting of the option Use Email From is used for the "From:" field."

However, when an address is specified in "Use Email From" we find that all e-mail notifications, even those sent automatically when a logged-in user submits a log entry, are sent from this address.

How can we set a valid address for use for "change of password" or registration e-mails, but still use the appropriate user's e-mail address for log entries?
  2140   Sun Feb 18 10:51:13 2007 Question Tobias Baggertobiasb@trashmail.netQuestionLinux2.6.3-1762Preset of a drop-down box entry with a "%" character
How do I preset a drop-down box entry which contains a % character?

I use following lines in the elogd.cfg:

Options list->ta = K - 0%, S - 10% (text a1), F - 20% (text a2)
Preset list->ta = K - 0%

The documentation says:
If a preset value is given for an attribute which has an options list, the preset value is selected in the drop down box by default.

But this doesn't work for me. I also tried

Preset list->ta = "K - 0%"
Preset list->ta = K - 0%%
Preset list->ta = K - 0\%

without success. What's the right way to do this?


Best regards
Tobias
ELOG V3.1.5-3fb85fa6