render correct appointment link

Stephan Drescher <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.discuss.general
Message-ID <20031027160528.D611617E3B@smtp>
hi,
The problem is that everything works quite wel, except that the automatic 
Link-address is rendered useless. I tried to config apacheproxy/startscript 
instead of localhost with the real hostname or virtual hostname , which did 
not improve matters (502 proxy error in this case).

e.g.:
in your email the participants recieve:
....clip...
Appointment view
Start: Tuesday, 2003-10-28 11:00 MET
Enddate: Tuesday, 2003-10-28 12:00 MET
Title: test
Location: 
Creator: Stephan Drescher
participants: Stephan Drescher
Comment: no comment
Link: 
http://localhost:20000//OpenGroupware/wa/LSWViewAction/viewAppointment?dateId=22500
....clip...

but i need: 
http://virtual.host.name/OpenGroupware/......

configuration:
************************
use of the apache proxy:
<VirtualHost x.x.x.x>
         ServerName bla.x.nl
         ProxyPass /OpenGroupware http://localhost:20000/OpenGroupware
         ProxyPassReverse /OpenGroupware http://localhost:20000/OpenGroupware
	.....
</VirtualHost>

 ***********************
starting ogw with:
....clip....
HOMEDIR=/usr/lib/opengroupware.org
DAEMON=$HOMEDIR/WOApps/OpenGroupware.woa/ix86/linux-gnu/gnu-fd-nil/OpenGroupware
NAME=opengroupware
PORT=20000
HOSTNAME='localhost'
USER=opengroupware
OPTIONS="-WOPort $PORT -OGoMinimumActiveSessionCount 0 -WOHttpAllowHost 
$HOSTNAME"
LOG=/var/log/opengroupware/ogw.log

test -f $DAEMON || exit 0
source $HOMEDIR/OpenGroupware.org.sh
...clip...

thanks for any suggestions
--stephan
-- 
OpenGroupware.org Discussion [email protected]
http://mail.opengroupware.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.