Folks, I´m trying to make this:
<virtualhost *:443> ServerName portal # Redirects to load balancer JkMount /app dmb # Test if wants to reach node1 RewriteCond %{REQUEST_URI} ^/node1/app RewriteRule ^/?(.*) /app JkMount /app node1 </virtualhost> I´ve setup a rewrite log and it matches the cond. 172.29.26.184 - - [05/Oct/2009:11:16:50 --0300] [portal/sid#800d3468][rid#802a7a50/initial] (2) init rewrite engine with requested uri /node1/app 172.29.26.184 - - [05/Oct/2009:11:16:50 --0300] [portal/sid#800d3468][rid#802a7a50/initial] (3) applying pattern '^/?(.*)' to uri '/node1/app' 172.29.26.184 - - [05/Oct/2009:11:16:50 --0300] [portal/sid#800d3468][rid#802a7a50/initial] (4) RewriteCond: input='/node1/app' pattern='^/node1/app' => matched But it returns Apache error 403 forbiden. Any ideas? Thanks, André ----- Original Message ---- From: Krist van Besien <krist.vanbes...@gmail.com> To: users@httpd.apache.org Sent: Monday, October 5, 2009 10:25:57 AM Subject: Re: [us...@httpd] Direct access to nodes via single virtualhost On Mon, Oct 5, 2009 at 3:19 PM, Andre Rodrigues <acastanheira2...@yahoo.com.br> wrote: > I would like to make single virtualhost and access the two nodes, is it > possible? One way you could do this is to use plain http between your apache and your tomcat (in stead of mod JK). That has two advantages: 1) Your configuration becomes a lot simpler. 2) You can do all kinds of nifty things with Rewrite Rules... Krist -- krist.vanbes...@gmail.com kr...@vanbesien.org Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- 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: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- 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: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org