Hi all!

I am gentting a problem with a the following scenario:

A tapestry5 application with a field with the @OnEvent mixin (chenillekit)

All this running on Tomcat5, behind Apache2.

I made a Proxy configuration in Apache2 in order to hide the server port:

<Proxy http://localhost:8080/*>
  Order deny,allow
  Allow from all
</Proxy>

ProxyPass           /         http://localhost:8080/
ProxyPassReverse    /         http://localhost:8080/
ProxyRequests       Off
ProxyPreserveHost   On

All is working fine, with the exception of on request produced by the
<t:checkbox t:mixins="ck/onevent" t:eventName="cange"....

This field makes the follwing request:

OPTIONS http://hostname:port/app/context/page/component:internalevent...


This is the only request that contains the port number included, and seeing
the generated html I see:

new Ck.OnEvent('change', 'showInterests', false,
'http://hostname:port/app/context/page/component:internalevent',
'');

And the URL parameter is resolved by link.toAbsoluteURI().

The "OPTIONS" request is the only one that is not proxied by the Apache...


Do you know what am I missing?

All this work perfectly browsing the application through the Tomcat port,
the problem just occurs when I try to browse through apache proxy.


Saludos,
Matias.

Reply via email to