I'm using jetty.xml very similar to the one found here: http://communitymapbuilder.osgeo.org/display/JETTY/Walkthrough+jetty.xml
I have a WAR file deployed to webapps directory: webapps/myapp.war
.
I also have a jetty-rewrite.xml file, with contents as shown here: http://gist.github.com/417634.
I use start.jar
to run Jetty like java -jar start.jar etc/jetty.xml etc/jetty-rewrite.xml
.
When I browse to http://localhost:8080/myapp/bar I get a 404 saying that /myapp/?foo=bar
is not found.
If I actually browse to http://localhost:8080/myapp/?foo=bar, it does work.
Does anyone what I'm doing wrong?