Ok, I tried to figure some of the rules out by myself (and I feel the jk2.conf provided is incomplete, too)
So here are the rewrite rules I am using: RewriteEngine on #RewriteLog /tmp/rw.log #RewriteLogLevel 3 # RewriteRule /(.+\.(jsp|m|vm|cmx|rss|action|do|rol)) balancer://ajp-balancer/$1 [P,L] RewriteRule ^/(.+)/(page|comments|preview|trackback|ExportServlet|auth|rss|entry)/(. *) balancer://ajp-balancer/$1/$2/$3 [P,L] RewriteRule ^/(([^/\.]+$)|([^/\.]+/$)) balancer://ajp-balancer/$1 [P,L] RewriteRule /j_acegi_security_check balancer://ajp-balancer/j_acegi_security_check [P] RewriteRule /roller_j_security_check balancer://ajp-balancer/roller_j_security_check [P] RewriteRule /CommentAuthenticatorServlet balancer://ajp-balancer/CommentAuthenticatorServlet [P] And every time I am firing the system up again I discover another functionality which needs the rewrite rules adjusted. I was wondering if anybody else has apache running in front of his tomcat and can enlighten me with his rewrite rules... Thanks, German -----Original Message----- From: Eichberger, German [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 12, 2007 11:38 AM To: [email protected] Subject: what kind of urls need to be handled by tomcat Hi, we have some apache httpd sitting in front of our tomcat running roller (I am still trying to set everything up:-)) We are using mod_rewrite to decide which URL's should be served by tomcat and which by apache. Right now we are forwarding everything which ends with .rol, .vm, .jsp, and .action to the tomcat. But the system doesn't work. I was wondering if somebody else had some experience with a similar set up and can share his insights what to forward to tomcat... Thanks, German --- German Eichberger - [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -858.577.3937 (w) - xgerman2 (Aim)
