This sounds intriguing as I am currently screwing around with trying to get TC 4.04 working with Apache 2.039 under Win32.
What happens when a web app needs authentication? Do 401 responses work through a proxy? Can requests still be authenticated by Apache and if so does the current user pass through to TC? > -----Original Message----- > From: Ekkehard Gentz [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 02, 2002 12:33 PM > To: Tomcat Users List > Subject: tc 4.0.4 + apache 2.0.36: mod_jk vs mod_proxy > > > hi, > we have a question ? > > when should we use mod_proxy and when mod_jk ? > > we have a webapp with jsp's, which works best with > tc 4.0.4 and apache 2.0.36 as tandem, > because apache serves the static content much better > (many gifs for toolbars, many pdf-files etc) > at this time we have configured this using mod_jk2 > > last day we made some experiences using apache as proxy > using mod_proxy > we did the same as before: apache serves all static content > from the webapp and sends the othe requests to tomcat > we configured proxy-params in the tomcat server.xml > and did some first tests: > seems to be equal to the access-times using mod_jk > > so now we have the questions: > what are the pros and cons of these two methods to > let apache serve static and tomcat the rest of the > web-application ? > > our webapp uses jsp's, java-script, only one applet for > styled text - entry, no tag-libs, no JDBC (we use > the OODB FastObjects) > > apache sets the http header so the gifs we need to > display toolbars in the windows will not always asked for > to the server > > thanks for infos > > regards > > ekkehard > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
