Hi Rob,

To get what your looking for I think you will need to remove the:
<SystemProperty name="jetty.home" default="."/>/webroot_cfmlapps/
Hilltop/

Then change that to D:/Hilltop, so it would look like this:
<Set name="war">D:/Hilltop/</Set>

The <SystemProperty name="jetty.home" default="."/> simply is telling
Jetty too look within it's running directory and then cascade down.

Let me know if this solves it for you,

Myles

On Sep 29, 7:43 pm, Rob <[EMAIL PROTECTED]> wrote:
> Jordan,
>
> Sorry for my newness - just trying to run OpenBD today - long time
> ColdFusion developer (since 3 something!).  Usually I am just set up
> in Apache or IIS, so no experience with Jetty or any Java background.
>
> Where would I configure or alias Hilltop requests to point to d:
> \Hilltop?  I thought that localhost:8080 requests would return the
> contents of D:\jetty-6.1.12-OpenBD\webroot_cfmlapps  and then if
> mapped properly, localhost:8080/Hilltop would return the contents of D:
> \Hilltop.
>
> Thanks again,
>
> Rob
>
> On Sep 29, 2:07 pm, Jordan Michaels <[EMAIL PROTECTED]> wrote:
>
> > Ah. I understand.
>
> > It doesn't look like you're pointing your config to D:\hilltop. It looks
> > like you're pointing it to webroot_cfmlapps/Hilltop/. Do you have a
> > symbolic link there that points to D:\hilltop? Or perhaps the directory
> > mapping is the problem...
>
> > Warm regards,
> > Jordan Michaels
> > Vivio Technologieshttp://www.viviotech.net/
> > Open BlueDragon Steering Committee
> > Adobe Solution Provider
>
> > Rob wrote:
> > > Jordan,
>
> > > The default is working - the first entry id=cfmlWebContext_1.  What I
> > > cannot get working is the virtual id=Hilltop, where I want to map
> > > Jetty to point to the D:\Hilltop directory.  This is the structure of
> > > the production set up (currently an IIS box).
>
> > > Thanks for your time,
>
> > > Rob
>
> > > On Sep 29, 1:13 pm, Jordan Michaels <[EMAIL PROTECTED]> wrote:
> > >> Hi Rob,
>
> > >> Just downloading the Jetty install and running what's there is not
> > >> working for you? The unaltered Jetty config should work perfectly, and
> > >> has been tested to do so.
>
> > >> Can you verify?
>
> > >> Warm regards,
> > >> Jordan Michaels
> > >> Vivio Technologieshttp://www.viviotech.net/
> > >> Open BlueDragon Steering Committee
> > >> Adobe Solution Provider
>
> > >> Rob wrote:
> > >>> 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