You change default documents in the web.xml file int the <jetty_home>/ webapps/<application-name>/WEB-INF/ directory.
Look for the section beginning with <welcome-file-list>. You can also set those on a global level in <jetty_home>/etc/ webdefault.xml. -- Anthony Hixon, Jr. Certified ColdFusion MX 7 Advanced Developer Mobile: (706) 639-3617 Email: [email protected] On May 1, 2009, at 1:58 PM, DetailsDotAt wrote: > > Hi Guys, > > Well I got much of my problems sorted out so far. Everything seems to > be working, except now, the config I had for Jetty prior to the > release of 1.1 isn't working. I copied my virtual hosts config to the > new jetty.xml where it was last time, and now it's not doing what it > did last time. > > I have a website located at > > c:/jetty-openbd/webapps/company_com > > But with my current config, the sites are just going to the default > site (cfml dump) instead of the directory I am listing. > > And I want home.cfm to be the default document. (where do I change > that?) > > Here is the jetty.xml segment I am having problems with. > > <!-- =========================================================== --> > <!-- Set handler Collection Structure --> > <!-- =========================================================== --> > <Set name="handler"> > <New id="Handlers" > class="org.mortbay.jetty.handler.HandlerCollection"> > <Set name="handlers"> > <Array type="org.mortbay.jetty.Handler"> > > <Item> > <New id="company_com" class="org.mortbay.jetty.webapp.WebAppContext"> > <Set name="contextPath">\</Set> > <Set name="war">C:\jetty-openbd\webapps\company_com\</Set> > <Set name="defaultsDescriptor"><SystemProperty name="jetty.home" > default="."/>/etc/webdefault.xml</Set> > <Set name="VirtualHosts"> > <Array type="java.lang.String"> > <Item>192.168.111.200</Item> > <Item>company.com</Item> > <Item>www.company.com</Item> > </Array> > </Set> > </New> > </Item> > > <Item> > <New id="Contexts" > class="org.mortbay.jetty.handler.ContextHandlerCollection"/> > </Item> > <Item> > <New id="DefaultHandler" > class="org.mortbay.jetty.handler.DefaultHandler"/> > </Item> > <Item> > <New id="RequestLog" > class="org.mortbay.jetty.handler.RequestLogHandler"/> > </Item> > > </Array> > </Set> > </New> > </Set> > > > --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official site @ http://www.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
