Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Redirect to wrong hostname, posted by Neil Swartz on Sun Dec 12 17:46:39 2004 
    icon2.gif   Re: Redirect to wrong hostname, posted by Stefan Ritt on Fri Dec 17 23:20:02 2004 
       icon5.gif   Re: Redirect to wrong hostname, posted by Ulrich Trüssel on Sun Dec 19 19:00:06 2004 
          icon2.gif   Re: Redirect to wrong hostname, posted by Stefan Ritt on Mon Dec 20 17:18:16 2004 
Message ID: 856     Entry time: Sun Dec 19 19:00:06 2004     In reply to: 852     Reply to this: 858
Icon: Question  Author: Ulrich Trüssel  Author Email: ulrich.truessel@familienhund.ch 
Category: Bug report  OS: Windows  ELOG Version: 2.5.5-2 
Subject: Re: Redirect to wrong hostname 
know that illness...  :-(  but was the last of the family of 4 people

i'd like to ask for an other usefull change togehter with this and how url's are 
handled by elog:

since there may be spaces in the name of a logbook (ex. "1stWordOfLogbook 
2ndWordOfLogbook") it is very userfriendly to name logbooks. also it's easy th 
make a reference for a other entry by copy and paste:

Display ThisURL = http://localhost:8080/$logbook/$message id

however, using spaces in the logbook name may give a wrong result, because the 
url would be http://localhost:8080/1stWordOfLogbook

and the space as well as the 2ndWordOfLogbook//$message id is only normal text.

may it be possible stefan, to replace the space in an url (starting 
with "http://") with a "+" or "%20"? this would allow to automate some things. 
actual the logbook name has to be hardcoded.


> > 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.
ELOG V3.1.5-fe60aaf