Hi All,
I have a Wicket 1.3 app running on Tomcat 6 behind an Apache httpd server.
Most of the app works great but any redirects using
Component#setResponsePage adds the original web context to the path....
e.g.
www.abcd.com/app turns to
www.abcd.com/abcd/app
and Tomcat complains
/abcd/abcd/app is not available.
I thought that in web.xml the filterPath parameter would fix this problem
but no...
<filter>
<filter-name>WicketApplication</filter-name>
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
<init-param>
<param-name>applicationClassName</param-name>
<param-value>abcd.app.WicketApplication</param-value>
</init-param>
<init-param>
<param-name>filterPath</param-name>
<param-value>/</param-value>
</init-param>
</filter>
The apache2 config looks like this...
<VirtualHost abcd.com>
ServerName www.abcd.com
ServerAdmin [EMAIL PROTECTED]
ErrorLog /var/log/apache2/abcd_error.log
ProxyRequests Off
<Proxy *>
AddDefaultCharset off
Order deny,allow
Allow from all
</Proxy>
<Location />
SetOutputFilter proxy-html
ProxyPass ajp://localhost:8009/abcd/
ProxyPassReverse ajp://localhost:8009/abcd/
ProxyPassReverseCookiePath /abcd /
Order allow,deny
Allow from all
</Location>
</VirtualHost>
Could anyone point me in the right direction?
Thanks for your help,
Tim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]