On 2/20/11 3:27 AM, Todd Nine wrote:
Might it be that you need a leading spash for "pattern" attribute? I would guess it should be like "/*"... Jetty 7 docs at jarvana have some more examples: http://www.jarvana.com/jarvana/view/org/eclipse/jetty/aggregate/jetty-all/7.1.6.v20100715/jetty-all-7.1.6.v20100715-javadoc.jar!/org/eclipse/jetty/rewrite/handler/RewriteHandler.htmlHi guys, I'm trying to redirect all requests to the root webapp to the "/aviator" I've created this file and put in /etc/jetty/contexts. I'm running the latest jetty 6 on ubuntu 10.04<?xmlversion="1.0" encoding="ISO-8859-1"?> <!DOCTYPEConfigurePUBLIC"-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd"> <Configureclass="org.mortbay.jetty.webapp.WebAppContext"> <Setname="contextPath">/</Set> <Callname="addHandler"> <Arg> <Newclass="org.mortbay.jetty.handler.rewrite.RedirectPatternRule"> <Set name="pattern">*</Set> <Set name="location">/aviator</Set> </New> </Arg> </Call> </Configure>
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
