mchack wrote:
> I am using 1.3 and the RestartResponseAtInterceptPageException generates an
> absolute versus relative URL and is not working with external web cache
> solution. Is this a bug?

If you do a 302 redirect using the servlet-api with a relative URL, the
servlet container will rewrite it to an absolute one (i.e. it will
prepend the context path, etc.).

Your mod_proxy should be set up with a ProxyPassReverse directive, so
that it rewrites these URLs properly. Please see the wiki article about
running behind mod_proxy for details. I have this set-up working
perfectly fine, as do many others.

Regarding Squid usage, I'm afraid I can't help you there. However, you
have several options:

1) Use Apache as your proxy server.

2) Run Tomcat/whatever behind Apache behind Squid behind Apache with
ProxyPassReverse. ;-)

3) Override WebApplication#newWebRequest to return a custom Request
object. This should extend ServletWebRequest and override the
getRelativePath* functions to return an absolute "/foo" URL rather than
the current "../" implementation.

Best regards,

Al

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to