Jason,

Mod_proxy does the job as the Host header should be used by all webapps
as the basis of generating URLs in responses (and thus hiding the 
existance of the secondary server and/or port).  Jetty uses this header
for all the data and URL rewriting that it does, so almost all
servlets should work fine behind mod_proxy.

If the host header is not used, then those servlets will not work
if the client has their own non-transparent proxies or port forwarders.


> I don't think that Jetty should try to incorporate all of the features and 
> functionality of Apache.  Instead, allow for JBoss/Jetty to be hooked up to

Jetty is firstly and foremost a full featured HTTP/1.1 implementation in 
Java.  Servlets are just a handler within the Jetty architecture.
There is value in a 100% java solution: efficiency, simplicity,
portability.

While apache is a great server it should not be the end of the story
when it comes to serving HTTP.  While Jetty lacks some bells and whistle
it can well support the requirements of almost all HTTP based applications.

cheers

 --- Jason Dillon <[EMAIL PROTECTED]> wrote: > I was avoiding posting to
jetty-discuss right away, as I didn't really do 
> that much research (short of a few websearches) on the matter.
> 
> Let me clarify though.  I was hoping to make use of apache's facilities for
> 
> these advanced configurations and simply proxy other requests over to
> JBoss.  
> 
> The trick would be to make sure that the url mappings look consistent from 
> the Apache standpoint.  So if there was a virtual host foo.mydomain.com,
> and 
> jboss was running on mydomain.com:8080, then apache could proxy requests to
> 
> a j2ee app deployed, but appear to be foo.mydomain.com.  The webuser would 
> never know about mydomain.com:8080.
> 
> I know that some of this is possible with mod_proxy, but I am not so sure 
> about the rest.
> 
> I don't think that Jetty should try to incorporate all of the features and 
> functionality of Apache.  Instead, allow for JBoss/Jetty to be hooked up to
> 
> Apache seemlessly and get the best of both worlds.
> 
> --jason
> 
> 
> On Mon, 10 Dec 2001, Julian Gosnell wrote:
> 
> > Jason,
> > 
> > As far as i know - YES
> > 
> > You should post on [EMAIL PROTECTED] where i am sure Greg
> will be
> > able to point you to the relevant doc and summarise various pros and
> cons.
> > 
> > Jetty supports virtual hosts, but this has not been integrated with JBoss
> as
> > AFAIK, the Deployer does not yet support this (since J2EE doesn't???).
> > 
> > Ask Greg re URL rewriting.
> > 
> > Please let the list know of any other 'advanced features' that you feel
> Jetty
> > (or JBoss/J2EE) is lacking, so they can be considered.
> > 
> > I'm crossposting you to jetty-discuss, and jboss-user, as the points this
> > thread raises may be of value to other participants.
> > 
> > 
> > Jules
> > 
> > 
> > 
> > Jason Dillon wrote:
> > 
> > > Hey, do you know if any integration support between jetty and apache? 
> Like
> > > tomcat does with mod_webapp?
> > >
> > > I think it would be a good idea if it was easy to integrate jboss with
> > > apache as easily as possible.  This would allow users to make use of
> the
> > > advanced web support it provides (virtual hosts, url re-writing...).
> > >
> > 
> > snip...
> > 
> > 
> > > Anyways, I don't really care if it is jetty or tomcat that is shipped
> > > default with JBoss, just that which ever it is can be easily plugged
> into
> > > apache.
> > >
> > > Perhaps jetty can support mod_webapp, if not perhaps there is another
> > > alternative which could be used for tighter integration.
> > >
> > > Just want to see if you might have more information on the subject. :)
> > >
> > > --jason
> > 
> > 
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> > 
> 
> 
> ------------------------ Yahoo! Groups Sponsor ---------------------~-->
> Quit now for Great
> American Smokeout
> http://us.click.yahoo.com/0vN8tD/9pSDAA/ySSFAA/CefplB/TM
> ---------------------------------------------------------------------~->
> 
> For the latest information about Jetty, please see http://jetty.mortbay. 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
>  

=====
-- 
Greg Wilkins <[EMAIL PROTECTED]>        
Mort Bay Consulting Australia and UK.    GB Phone: +44-(0)7775534369
http://www.mortbay.com                   AU Phone: +61-(0)299772395

http://shopping.yahoo.com.au - Yahoo! Shopping
- Free CDs for thousands of Priority Shoppers!

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to