Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francis, Francis Galiegue wrote: | 2008/4/12, Christopher Schultz [EMAIL PROTECTED]: | Sorry to pick nits, but the fallacy that Tomcat sucks as a static | content server just needs to die. | | Well, the performance tests we did (Tomcat

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-13 Thread Francis Galiegue
2008/4/13, Shashidhar Rampally [EMAIL PROTECTED]: [...] Also when I tried to replace one VirtualHost with multiple VirtualHosts (and hence not needing mod_rewrite), I am getting the following error message: [warn] VirtualHost xyz.com:80 overlaps with VirtualHost www.xyz.com:80, the first

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-13 Thread Shashidhar Rampally
Finally I figured it out! I had to read about VirtualHost and NameVirtualHost in the Apache manual, which I was trying to avoid. :) Here's my final configuration. I have used both RewriteMatch and mod_rewrite (just to to remind myself it can also be done both ways). For now, I have chosen not to

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-12 Thread Shashidhar Rampally
Francis, I have followed your suggestion of using a VirtualHost but also made use of a suggestion I found on a website which talked about putting mod_rewrite rules inside the VirtualHost element along with the JkMount command inside. And wow! it works great. :)) Thank you! The only thing that's

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-12 Thread Francis Galiegue
2008/4/12, Shashidhar Rampally [EMAIL PROTECTED]: Francis, I have followed your suggestion of using a VirtualHost but also made use of a suggestion I found on a website which talked about putting mod_rewrite rules inside the VirtualHost element along with the JkMount command inside. And

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francis, Francis Galiegue wrote: | Apache is much better at serving static content... To be fair, Apache httpd and Tomcat are about equal. But, if you are already using Apache httpd, you may as well have it serve the static content instead of

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-12 Thread Francis Galiegue
2008/4/12, Christopher Schultz [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francis, Francis Galiegue wrote: | Apache is much better at serving static content... To be fair, Apache httpd and Tomcat are about equal. But, if you are already using Apache httpd, you

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-12 Thread Shashidhar Rampally
My troubles are not yet over! :) With my configuration, I am having problems with HTTPS pages. I am getting a 404 error. I get that error even though I replaced VirtualHost *:80 with VirtualHost *:* Also when I tried to replace one VirtualHost with multiple VirtualHosts (and hence not needing