I'm afraid I've never used Jetty so I can't help you with that. Paul
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of DetailsDotAt Sent: Friday, April 24, 2009 5:14 PM To: Open BlueDragon Subject: [OpenBD] Re: URL Redirects upon 404 Hi Paul, Yea, it looks like I'm given a the base url with 'cgi.SERVER_NAME' and the subfolder with 'request.javax.servlet.error.request_uri' Assuming these are reported consistently, I should be able to use these to parse out what I need and make the script work with Jetty. So all looks good so far. now if only I could figure out why jetty doesn't resolve www. <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.200</Item> <Item>www.company.com</Item> <Item>company.com</Item> <Item>www.business.com</Item> <Item>business.com</Item> </Array> </Set> </New> </Item> all four domains all resolve to the same IP via ping all four domains response to telnet company.com 80 so the server is listening but only the domains without www. in front of them resolve to the correct document. domains with www. are resolving to a blank white page. any ideas? --~--~---------~--~----~------------~-------~--~----~ 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 !! -~----------~----~----~----~------~----~------~--~---
