Hi, I have a really strange one... I am using Apache 2.x Jboss 7 (EAP 6.3) and also tried in Tomcat 7 Wicket 6.16.0
I used the HelloWorld application here https://wicket.apache.org/learn/examples/helloworld.html It works fine on http://localhost:8080/myapp I add Apache virtual host with the following settings: <VirtualHost *:80> ServerName myapp.com ProxyRequests Off ProxyPreserveHost On ProxyPassReverseCookiePath / / ProxyPass / http://localhost:8080/myapp/ ProxyPassReverse / http://localhost:8080/myapp/ </VirtualHost> It works fine at the url http://localhost:8080/myapp and myapp.com When I add the following to the HelloWorld.java file: add(new Link("myLink") { @Override public void onClick() { } }); and the following in the HelloWorld.html <a wicket:id="myLink">link</a> And load http://localhost:8080/myapp it works fine. However, if I load myapp.com I get a 404 as the url is changed to http://myapp.com/myapp/;jsessionid=4A80C86C4F4BF1FAE13721E22F64350E?0 The body of the 404 page says the following: HTTP Status 404 - /myapp/myapp/;jsessionid=4A80C86C4F4BF1FAE13721E22F64350E type Status report message /myapp/myapp/;jsessionid=4A80C86C4F4BF1FAE13721E22F64350E description The requested resource is not available. Apache Tomcat/7.0.30 Does anyone have any idea why this is happening? Regards Vishal