Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Fwd: Upgrading from Jetty 7 to 8

7 and 8 are basically the same codebase with just a thin smear of code added on to support the servlet 3.0 features

there should be no fundamental differences between jetty 7 and 8 in terms of the rewrite handler

cheers,
jesse

--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx


On Fri, Mar 29, 2013 at 2:51 PM, Stephen Halsey <steve@xxxxxxxxxxxx> wrote:
Hi,

I am upgrading from Jetty 7 to 8 and found the following on the:-
which prints:-

Permission error

You do not have permission to do that, for the following reason:

The action you have requested is limited to users in the group user.


Should I join a certain group to get access to this page?  I have become a "Friend of Eclipse" and now am being told:-

You've followed a link to a page that doesn't exist yet.

So I'm guessing its just a page on the Wiki that hasn't been created yet?

If so, are there any tools I can use like the very wonderful jetty6to7-1.0.jar to upgrade from 7 to 8 please?  Specifically I am needing to upgrade the following section in jetty.xml:-

    <!-- =========================================================== -->
    <!-- Configure Rewrite Handler                                   -->
    <!-- =========================================================== -->
    <Set name="handler">
        <New id="Handlers" class="org.eclipse.jetty.rewrite.handler.RewriteHandler">
            <Set name="rules">
                <Array type="org.eclipse.jetty.rewrite.handler.Rule">
                    <Item>
                        <New id="forwardedHttps"
                            class="org.eclipse.jetty.rewrite.handler.ForwardedSchemeHeaderRule">

                            <!-- If this header is present, and the specified headerValue matches,
                                 then the specified scheme will be passed on. If the headerValue isn't
                                 specified, then the presence of the header with any value will trigger
                                 the scheme modification.
                            -->
                            <Set name="header">X-Forwarded-Scheme</Set>
                            <Set name="headerValue">https</Set>
                            <Set name="scheme">https</Set>
                        </New>
                    </Item>
                </Array>
            </Set>

and am thinking that I may have to move it into the jetty-rewrite.xml file and also may have to update my pom.xml to download the <artifactId>jetty-rewrite</artifactId> which I didn't have to do before?

thanks a lot


Steve.


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top