On Thursday 09 March 2006 07:28, Boyle Owen wrote:

> The basic idea is that apache acts as the front-end and receives incoming
> requests from the web. Usually, you use apache to serve static stuff
> (images, downloads, plain HTML etc.) because it's fast. Requests for
> dynamic content are "passed" to Tomcat.

Um, that's a bit of propaganda that was never really fair, and is
absolute nonsense since 2002 (Apache 2.0).  By all means use
it that way, but please leave the "apache is for static contents"
message to the FUDsters who have a vested interest in it.

> THere are several connectors (ways to pass the request) - see
> http://tomcat.apache.org/faq/connectors.html
>
> Simplest is just mod_proxy; you run Tomcat on localhost:8080 or something
> and just use ProxyPass to route those subdirs that are dynamic. If it's
> more complicated, use mod_rewrite. If it gets really complicated, use
> mod_jk (a dedicated tomcat connector)

Also somewhat outdated: the proxy framework in 2.2 supersedes the
separate mod_jk.  And using mod_rewrite is merely a different way of
configuring the proxy framework - or of configuring mod_proxy if you
go back before 2002.

>
> It's a big question you ask, and the answer depends greatly on your needs
> and what you have already...

Indeed, answering a non-question doesn't really work.:-)

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to