httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Nelson" <pete.nel...@ci.stpaul.mn.us>
Subject Re: What good is WARP? Correction
Date Mon, 06 May 2002 13:09:02 GMT
One other suggestion that I use for Tomcat & Apache 2 is the reverse
proxy.  You need to enable your proxy module, and then add lines like -

  RedirectMatch 301 /examples /examples/
  ProxyPass /examples/ http://127.0.0.1:8080/examples/
  ProxyPassReverse /examples/ http://127.0.0.1:8080/examples/

 - for each servlet container.  I'm not sure what the performance
advantages/disadvatages are, but I haven't noticed any problems.  The
advantage (if you consider it an advantage) is the client still
communicates over port 80, instead of being redirected to 8080.

--
Pete Nelson, Web Developer
<pete.nelson@ci.stpaul.mn.us>
http://www.ci.stpaul.mn.us/

>>> gmane@ladsplace.net 05/05/02 10:45PM >>>
My apologies,

I actually used the following redirect, not an Alais to make Tomcat
accessable:

    Redirect permanent /tomcat http://my.net:8080 

This seems to do the same thing as mod_webapp.  I cna refer to all my
Tomcat
servlets and JSP's as /tomcat/servlet/whatever.  Am I sacrificing any
performance this way?


"Fester" <gmane@ladsplace.net> wrote in message
news:ab4ied$kp3$1@main.gmane.org...
> I know that this is probably a vert naive question, but after
struggling
> unsuccessfully to integrate Apache (1.3.24, and 2.0) and Tomcat (4
and 4)
> under Win2k, I am asking myself why bother?  I've tried both mod_jk
and
> mod_webapp.  I think that part of the problem has been the
availability of
> pre-buit binaries  I'm sure not going to spend $$ on a MS compiler,
so am
> dependant upon what I can find.  .  I know that mod_jk would provide
load
> balancing and other thread contol.  I don't see what WARP brings to
the
> table, however.  Can't I achieve the same effect with an alias in
> httpd.conf, such as:
>
> Alias /examples/ http://me.net:8080/examples 
>
> where Tomcat listens for http1/1 on port 8080?
>
> Thank you in advance,
> Fester





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org 
For additional commands, e-mail: users-help@httpd.apache.org 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message