Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] How to use SetUIDServer in 7.2.22?

Nick,

The module you are looking for is part of Jetty integrations. It could be found in Codehaus SVN at https://svn.codehaus.org/jetty/jetty/branches/jetty-7/jetty-setuid/. If you need to build it for a specific version of Jetty, you should check out the entire jetty-7 branch and modify jetty-version variable in the top-level pom.xml.

Thanks,
Michael

On Fri, Feb 25, 2011 at 12:24 AM, Nick Fenwick <neek@xxxxxxxxxxxxxxx> wrote:
I'm looking at moving my jetty server from port 8080 to port 80 on a CentOS 5 linux system.  The docs at http://docs.codehaus.org/display/JETTY/port80 seem misleading.  They say they refer to the 'new' setuid feature in jetty 6.1, so perhaps they are not valid for jetty 7.x?

I'd like to use the setuid feature, but cannot find the SetUIDServer class in the jetty release.  This is referred to in a mailing list post http://dev.eclipse.org/mhonarc/lists/jetty-users/msg00296.html which seems to have gone without answer.  I also can't see a jetty-setuid.xml config file.

I also cannot find the org_mortbay_setuid_SetUID.c source file it says to build.  I fetched jetty with:

svn co svn://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk ./

and it seems to contain no such source file.

Should jetty's setuid mechanism work in 7.x?

I tried the xinetd approach with jetty running on 8080, however my virtualhost config seems to mean that the known contexts include "/ @ nickfenwick.com:8080 ---> o.e.j.s.h.ContextHandler{/,file:/var/www/html/,nickfenwick.com}", and a GET request to http://nickfenwick.com/ results in a 404 Not Found.

I'm going to go look at the commons-daemon approach mentioned in a comment on that wiki page, but I'm not sure how easy that's going to be to set up.

Nick

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



Back to the top