On Fri, 27 Jun 2008, Matthew Hanlon wrote:
> I was having a problem getting the full url of a page or resource after
> deploying my application behind a proxy.  
...
> However, after deploying behind a proxy, I was expecting to get "
> http://my.domain.com/MyResourcePage/resouce/xxx"; and instead was getting "
> http://localhost:8080/MyResourcePage/resouce/xxx";.  So I adjusted to doing

I have been told that in the end of the day, the only surely 
universal way to get the host name you want is to put it 
manually in some configuration file in your application.

In a specific context, you might get it right by configuring
the proxy to pass on the original request hostname either 
directly in the proxied request or in a custom header.

This is not a Wicket specific thing.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to