Aloha,

Having trouble getting the virtual hosts to work.  Maybe someone can
assist.  The first item works (cfmlWebContext_1)  the second does
not.  Forgive some of the syntax, as I have tried many different
combinations, restarting and stopping the Jetty server in an attempt
to brute force the problem.

                        <Set name="handlers">
                                <Array type="org.mortbay.jetty.Handler">

                                        <Item>
                                                <New id="cfmlWebContext_1"
class="org.mortbay.jetty.webapp.WebAppContext">
                                                        <Set 
name="contextPath">/</Set>
                                                        <Set 
name="war"><SystemProperty name="jetty.home" default="."/>/
webroot_cfmlapps/Hilltop/</Set>
                                                        <Set 
name="defaultsDescriptor"><SystemProperty
name="jetty.home" default="."/>/etc/webdefault.xml</Set>
                                                        <Set 
name="VirtualHosts">
                                                                <Array 
type="java.lang.String">
                                                                        
<Item>127.0.0.1</Item>
                                                                        
<Item>localhost</Item>
                                                                </Array>
                                                        </Set>
                                                </New>
                                        </Item>

                                        <Item>
                                                <New id="hilltop"
class="org.mortbay.jetty.webapp.WebAppContext">
                                                        <Set 
name="contextPath">/</Set>
                                                        <Set 
name="war">d:/Hilltop/</Set>
                                                        <Set 
name="defaultsDescriptor"><SystemProperty
name="jetty.home" default="."/>/etc/webdefault.xml</Set>
                                                        <Set 
name="VirtualHosts">
                                                                <Array 
type="java.lang.String">
                                                                        
<Item>127.0.0.1/Hilltop</Item>
                                                                </Array>
                                                        </Set>
                                                </New>
                                        </Item>
                                </Array>
                        </Set>

Thanks in advance,

Rob

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official blog @ http://blog.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to