users@glassfish.java.net

Re: Problem with Sun One Application Server 7 (yes, it's old but ...)

From: Vishal Mehra <vishal.m.mehra_at_gmail.com>
Date: Thu, 6 Aug 2009 04:37:44 -0700

have you looked at The Referer request-header field

request.getHeader("Referer")

On Wed, Aug 5, 2009 at 3:06 AM, <glassfish_at_javadesktop.org> wrote:

> hi all,
>
> i have this problem, i hope someone can help me ... in some way.
>
>
> this is the situation:
>
> a front-end apache 1.3 listening on port 80
>
> a back-end sun one application server 7 listening on port 81
>
> clients connect to apache, apache connect to sun one.
>
> apache use the directive ProxyPass e ProxyPassReverse (mod_proxy)
>
> example:
>
> ProxyPass /something http://127.0.0.1:81/something
> ProxyPassReverse /something http://127.0.0.1:81/something
>
>
> the problem is:
>
> some application running on sun one (not all) create pages with links to
> sub-pages with the url based not on the original url but on the last url
> (these applications probably uses request.getServeName and getServerPort):
>
> example of resulting link:
>
> http://127.0.0.1:81/somthing/somethingelse
>
> obviously, it doesn't work.
>
> unfortunatly we can't change these applications but we have to find some
> workaround.
>
> i try something on apache but without success.
> there is something to do on sun one to solve this problem?
>
> any ideas?
>
>
> tks.
> [Message sent by forum member 'tullio999' (tullio999)]
>
> http://forums.java.net/jive/thread.jspa?messageID=358961
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>