Have you looked at the Jetty logs for clues? They are usually very  
telling and helpful when troubleshooting issues like this.

-- 
Anthony Hixon, Jr.
Certified ColdFusion MX 7 Advanced Developer
Mobile: (706) 639-3617
Email: [email protected]

On Apr 24, 2009, at 12:52 PM, DetailsDotAt wrote:

>
> Ok..
>
> Using company.com as an example, the following jetty.xml excerpt is
> working for "company.com" but not "www.company.com"
>
> However, I can telnet to both company.com and www.company.com at port
> 80, so i know that Jetty is listening for www.company.com, but it only
> actually renders a page in the browser for requests to company.com,
> www.company.com is just a white page.
>
> (is there a way to skip virtual hosts altogether? I have about 20
> domains I want to point to the same site. With IIS, I didn't have to
> tell it every domain, I just set it to listen on a particular IP and
> any domain that pointed to it would resolve)
>
> <Item>
> <New id="company_com" class="org.mortbay.jetty.webapp.WebAppContext">
> <Set name="contextPath">/</Set>
> <Set name="war">C:\openbd\webroot_cfmlapps\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.201</Item>
> <Item>company.com</Item>
> <Item>www.company.com</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