The session id is appended correctly.
However a response sendredirect creates a relative url from where I am, that
is behind the proxy. This causes the browser to search the private network
for that server, which does not exist.
So, is it my Apache that is FUBAR or is it me ( or Orion )?
Johan
----- Original Message -----
From: "yeo sze wee" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 4:29 AM
Subject: Re: response.sendRedirect(response.encodeRedirectURL(path));
> hi
>
> the encodeRedirectURL method in response object
> doesn't seem to work. What I did is
> to encode the session id in the url in my code.
>
> i.e.
>
> response.sendRedirect(path+";jsessionid="+session.getId());
>
> regards
> sze wee
>
>
>
>
> >From: "Johan Fredriksson" <[EMAIL PROTECTED]>
> >Reply-To: Orion-Interest <[EMAIL PROTECTED]>
> >To: Orion-Interest <[EMAIL PROTECTED]>
> >Subject: response.sendRedirect(response.encodeRedirectURL(path));
> >Date: Mon, 3 Sep 2001 13:16:37 +0200
> >
> >
> >
> >I cannot get the
> >
> >response.sendRedirect(response.encodeRedirectURL(path));
> >
> >
> >
> >method call to include the frontend host name!!
> >
> >
> >
> >Architechture like this
> >
> >
> >
> >internet private netw
> >
> >layer layer
> >
> ><proxy>---<orion>----<db>
> >
> >
> >
> >whenever surfing via the proxy and a response sendredirect is called I
end
> >up in the private network ( ip 192.168.1.123) instead of the proxy
address.
> >
> >My web.xml looks like this:
> >
> ><web-site host="[ALL]" port="80" display-name="Aller WebSite"
> >virtual-hosts="aller.localhost">
> > <!-- The default web-app for this site, bound to the root -->
> > <frontend host="proxy.flowinteractive.se" port="80"/>
> > <default-web-app application="default" name="defaultWebApp" />
> >
> > <!-- Uncomment this to activate the news app -->
> > <!-- <web-app application="news" name="news-web" root="/news" /> -->
> >
> > <!-- Access Log, where requests are logged to -->
> > <access-log path="../log/aller-web-access.log" />
> ><!-- <web-app application="admin" name="admin-web" root="/admin" /> -->
> > <web-app application="aller" name="aller-web" root="/aller" />
> ></web-site>
> >
> >
> >
> >I would greatly appreciate if anyone who has solved this can give me some
> >insight other than using absolute urls.
> >
> >
> >
> >Thanks in advance
> >
> >
> >
> >
> >
> >Johan Fredriksson
> >
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>