"W. Craig Trader" wrote:
>
> Hi! I just loaded the latest Jetspeed (straight from CVS) and it looks
> great. I set it up on my internal web/application server, and it runs
> fine with one minor problem ... that makes the current incarnation utterly
> useless.
>
> For security, I use a web proxy (Apache) sitting in my DMZ to proxy actual
> page requests to internal web/app servers. Unfortunately, Jetspeed is
> generating web pages that specifically reference the complete internal
> server name/port ... so the resulting pages break the proxy. For an
> example, if you browse to http://test.barkingmad.org/jetspeed/ the page
> you get back will be filled with the following types of tags:
>
> <base href="http://hawking.inside.unicornsrest.org:9004/jetspeed/">
>
> <img
> src="http://hawking.inside.unicornsrest.org:9004/jetspeed/images/jetspeed-logo.gif">
>
> Instead of what I would have expected:
>
> <base href="/jetspeed/">
>
> <img src="/jetspeed/images/jetspeed-logo.gif">
>
> So my questions are:
>
> Is this a bug or a feature?
> Is there a configuration parameter to override this behavior?
> Where in the code should I look to patch this?
>
> Thanks for all of your work on Jetspeed, and for your time in answering my
> questions.
>
This is the default behavior of Turbine DynamicURI class which generates the
URLs you see.
The base HREF was a stop gap solution for 1.3a1 release and should not be actually
useful anymore. It will be removed before next alpha.
Configuring DynamicURI for generating absolute rather than external self-referencing
links should be easy but I have not loooked into it yet (so you may have a go if you
want :) ).
I have the same kinds of issues than you in my production environment where there
are DMZ and network load-balancers.
So the short answer is: this is currently a known limitation that should be quite
easy fo fix (see Turbine.DynamicURI) but it's not a current priority so if you need
this soon, we'll gladly accept patches :)
--
Raphaël Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Services Manager / Paris
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]