Re: back button does not work, posted by Stefan Ritt on Mon Dec 6 21:48:19 2004
|
> hi
> the back button/liunk does not work
> if i click on an entry and then back, it does not work properly, i see the
> same entry
> if i click on the new button or the find button, and then back, it does
> not work properly
> mfg guenter
Thanks for reporting that bug, it has been fixed in the curreny CVS version. |
dropdown-lists display only the first 100 entries, posted by Guenter Nowak on Tue Dec 7 15:46:15 2004
|
|
Re: dropdown-lists display only the first 100 entries, posted by Stefan Ritt on Tue Dec 7 16:15:28 2004
|
Right. Number of options is limited to 100. |
Re: dropdown-lists display only the first 100 entries, posted by Guenter Nowak on Thu Dec 9 11:30:07 2004
|
> Right. Number of options is limited to 100.
hi, i found the MAX_N_LIST macro and increased it |
Re: back button does not work, posted by Guenter Nowak on Thu Dec 9 11:30:49 2004
|
> > hi
> > the back button/liunk does not work
> > if i click on an entry and then back, it does not work properly, i see the
> > same entry
> > if i click on the new button or the find button, and then back, it does
> > not work properly
> > mfg guenter
>
> Thanks for reporting that bug, it has been fixed in the curreny CVS version.
thanks |
Re: dropdown-lists display only the first 100 entries, posted by Stefan Ritt on Thu Dec 9 11:40:05 2004
|
> > Right. Number of options is limited to 100.
> hi, i found the MAX_N_LIST macro and increased it
Please note that if you make it too big, you will get a stack overflow and
elogd will crash. |
Redirect to wrong hostname, posted by Neil Swartz on Sun Dec 12 17:46:39 2004
|
I have a computer that has a different idea of its name from the DNS
server. When I run ELOG and someone clicks "Search" I get a page not found.
I tried starting with "-n <hostname>", but elog still uses gethostname.
The example is that DNS says my machine is "abc.company.com" and netstat -
a says elog is listening on 8080 abc.personaldomain.com
Here is the code from elogd.c:
/* get host name for mail notification */
gethostname(host_name, sizeof(host_name));
phe = gethostbyname(host_name);
if (phe != NULL)
phe = gethostbyaddr(phe->h_addr, sizeof(int), AF_INET);
/* if domain name is not in host name, hope to get it from phe */
if (strchr(host_name, '.') == NULL && phe != NULL)
strcpy(host_name, phe->h_name);
I think you should be using tcp_hostname instead of gethostname if it is
specified. |
Re: Redirect to wrong hostname, posted by Stefan Ritt on Fri Dec 17 23:20:02 2004
|
> I think you should be using tcp_hostname instead of gethostname if it is
> specified.
Sorry my late reply, I was ill for some time. I implemented your suggestion in
revision 1.522 which is available from CVS.
Note that there is also the "URL = xxx" option in the configuration file which
lets you specify the whole URL including the host name. |