Hi all,
Trafic from a rich client consists of requests for static ressources
like *.png and requests for dynamicaly generated templates.
Requests like this:
http://localhost/project/com/project/imgs*.png would retrieve the
files from the filesystem where apache runs and
http://tomcat.apache.org/connectors-doc/
cheers
Greg
--
what's puzzlin' you, is the nature of my game
-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html
I think you could do that via mod_rewrite
RewriteRule ^/project/(.*)/dynamic/(.*)
http://tomcat/project/$1/dynamic/$2 [proxy,last]
RewriteRule ^/project/(.*)
http://apache/project/$1 [passthrough,last]
You also need to define a Directory or Location for your local
static files on Apache
This wont work.
Ian asked if both (Apache Tomcat) could be configured to listen on
the same port, and the anser here is definately a NO.
What you can do is use the connector JK 1.2, run Apache in front,
Tomcat on port i.e. 8009. JK then will forward the specified requests
to Tomcat, similar to
Forgot to mention that Ian asked in the Tomcat-userlist if he could
run both on the same port (check for the post Can Apache and Tomcat
both be configured in port 80?)
Sorry, forgot to mention that
Greg
--
what's puzzlin' you, is the nature of my game