You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Karthik Abram <ka...@neovera.com> on 2005/05/13 17:37:47 UTC
FW: Html base href and proxy
This sounds like a bug to me. Tapestry 4 should at least allow setting what
the base server URL is...
-----Original Message-----
From: John.Prince@bedag.ch [mailto:John.Prince@bedag.ch]
Sent: Friday, May 13, 2005 10:06 AM
To: tapestry-user@jakarta.apache.org
Subject: Html base href and proxy
Hi,
I just noticed that tapestry 4 is inserting html base tags into the
pages.
I have apache running as a front end and proxying requests to the java
server on another port. Tapestry is, however, naturally inserting the
address of the internal server as the base href.
Is there a way of overriding this without implementing a custom
AbsoluteURLBuilder? Could a property be added to the Application servlet
to define a base url, or at least a base server?
Thanks
John
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
Re: FW: Html base href and proxy
Posted by Howard Lewis Ship <hl...@gmail.com>.
It does; the RequestDecoder extension point has control over this, for
exactly the reasons you indicate.
On 5/13/05, Karthik Abram <ka...@neovera.com> wrote:
>
>
> This sounds like a bug to me. Tapestry 4 should at least allow setting
> what
> the base server URL is...
>
> -----Original Message-----
> From: John.Prince@bedag.ch [mailto:John.Prince@bedag.ch]
> Sent: Friday, May 13, 2005 10:06 AM
> To: tapestry-user@jakarta.apache.org
> Subject: Html base href and proxy
>
> Hi,
>
> I just noticed that tapestry 4 is inserting html base tags into the
> pages.
>
> I have apache running as a front end and proxying requests to the java
> server on another port. Tapestry is, however, naturally inserting the
> address of the internal server as the base href.
>
> Is there a way of overriding this without implementing a custom
> AbsoluteURLBuilder? Could a property be added to the Application servlet
> to define a base url, or at least a base server?
>
> Thanks
>
> John
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com