One of the things I thought AJP did that HTTP proxying to Tomcat could
not (but correct me here if I'm wrong) is let the servelt container know
whether or not the connection is HTTP vs. HTTPS. This sort of
information needs to get passed back to the servlet container to satisfy
the servlet specification.

Typcially, in an Apache/Tomcat configuration, Apache deals with all of
the https connections (because it's better at it), and requests for
servlet/JSP stuff are passed back to Tomcat, with information on whether
or not the connection Apache has with the browser is HTTP or HTTPS.

Anyway, for business sites, any servlet being able to know if the
original connection was secure or not is a total deal-breaker on whether
or not to use a particular technology (in this case, Apache/Tomcat) to
host a web site.

Also, servlets (by the specification) need to be able to manipulate HTP
request headers, particularly where cookies are concerned. I was under
the impression that AJP allowed this, whereas mod_proxy did not, but
perhaps I am wrong?

-Manni 

-----Original Message-----
From: Wayne Frazee [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 20, 2004 11:07 AM
To: [EMAIL PROTECTED]
Subject: Re: Invitation to HTTPD commiters in tomcat-dev

Please pardon me for attempting to marshall the obvious however what is
the advantage of AJP/1.x over HTTP?  

Why is it worth the development time of apache volunteers?  

And why is AJP so advantageous over HTTP/1.1 that we should redesign
existing modules to use it?

I do apologize but I am not really familiar with the inner workings of
tomcat as no webhost I have worked for to date has really pushed it.  I
think the answers to these questions would be useful for all of us who
are more-or-less "pure" apache users/devs...
-- 
--------------------
Wayne S. Frazee
"Any sufficiently developed bug is indistinguishable from a feature."

On Tue, 2004-07-20 at 08:51, Henri Gomez wrote:
> Manni Wood wrote:
> 
> - Could mod_proxy be open to support AJP/1.x as tomcat connections ?
> 
> - Should we learn from mod_proxy to redesign something using AJP ?
> 
> 
> Many questions which need experts answers...
> 

Reply via email to