Hi Ross,

I don't think it has anything to do with ZoneUpdater or Tapestry. The base
url/context is provided by the servlet container. I think the solution will
be to replace http://127.0.0.1:7070/ by your domain name:port

regards
Taha


On Sat, Jul 9, 2011 at 7:00 AM, Ross Greinke <ross....@att.net> wrote:

> I'm trying to use Inge's ZoneUpdater and have found a problem that I wonder
> if anyone has solved.  My tapestry app is running in tomcat behind apache
> using mod_proxy:
>
> ProxyPass / http://127.0.0.1:7070/
> ProxyPassReverse / http://127.0.0.1:7070/
>
> When the ZoneUpdater code tries to execute the line
>
> String url = resources.createEventLink(event, context).toAbsoluteURI();
>
> The url ends up using the internal URL (127.0.0.1....)  rather than the
> outside URL (mysite.com/....)
>
> Thanks,
>
> Ross
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/ZoneUpdater-uses-proxy-URL-rather-than-external-URL-Apache-Tomcat-mod-proxy-tp4567155p4567155.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to