To get Apache 2.2 to proxy around Wicket, I have the following defined: <IfDefine PROXY> ProxyPass / http://localhost:8080/cware/ ProxyPassReverse / http://localhost:8080/cware/ ProxyPassReverseCookieDomain localhost .laccetti.com ProxyPassReverseCookiePath /cware / </IfDefine>
Nothing special required in the web.xml, Tomcat doesn't know that it is being proxied, etc. HTH, Mike > -----Original Message----- > From: Anton Veretennikov [mailto:[EMAIL PROTECTED] > Sent: November-19-08 6:34 AM > To: users@wicket.apache.org > Subject: Wicket 1.3.5 behind a front-end proxy > > Hi, > > http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html > shows this configuration: > > <VirtualHost ordering.company.com> > ProxyPass / http://appserver.company.com:8080/ordering/ > ProxyPassReverse / http://appserver.company.com:8080/ordering/ > # Apache 2.2+ only > ProxyPassReverseCookiePath /ordering / > </VirtualHost> > > as impossible until getApplicationSettings().setContextPath("/"); > But it says in 1.3 it must work because it uses relative paths. > My experience shows that <contextPath> is still added in URL in links > and I don't know why. > > Was anyone successfull in deploing Wicket 1.3.5 when Tomcat is used by > Apache through mod_proxy? > If yes, please, send me example of configuration. What I need to do in > web.xml? > > Thank you, > Tony. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]