I've been using the Jetty/OpenBD bundle for a while now, and must say
I'm impressed with what you have achieved. However, I've been
searching all over for an easy solution to adding one or more virtual
directories under the contextpath.

Here's how that part of jetty.xml looks like now (standard I guess).
Anyone who knows how to add a virtual path that creates a virtual sub
directory named /thumbnails and points it to h:\mydirectory\thumbs\

Any help would be greatly appreciated! =)

/Christian

---

<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/cfmlWebContext_1/</Set>
                                                        <Set 
name="defaultsDescriptor"><SystemProperty
name="jetty.home"

default="."/>/etc/webdefault.xml</Set>
                                                        <Set 
name="VirtualHosts">
                                                                <Array 
type="java.lang.String">
                                                                        
<Item>localhost</Item>
                                                                        
<Item>127.0.0.1</Item>
                                                                </Array>
                                                        </Set>

                                                </New>

                                        </Item>

--~--~---------~--~----~------------~-------~--~----~
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 !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to