-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
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
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
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
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
-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
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
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
2008/4/11, Shashidhar Rampally [EMAIL PROTECTED]:
Hi guys,
I am trying to permanently redirect http://xyz.com to
http://www.xyz.com, which is hosted on Apache2 + Tomcat 5.5.9 with
mod_jk. I am trying to use .htaccess file to do so. So far my efforts
have been unsuccessful!
If I were
Thanks for the quick reply, Francis!
My httpd.conf file doesn't have a single VirtualHost defined because I
am using mod_jk to forward all the requests to Tomcat. Otherwise I
understand how your solution would have worked. :)
I have alternate solution that involves changing Tomcat's server.xml
2008/4/11, Shashidhar Rampally [EMAIL PROTECTED]:
Thanks for the quick reply, Francis!
My httpd.conf file doesn't have a single VirtualHost defined because I
am using mod_jk to forward all the requests to Tomcat.
Well, I use mod_jk AND vitural hosts. Even though, in most cases, the
hostname
Hi-
I'd suggest using RewriteLog and RewriteLogLevel to determine exactly
how your RewriteCond and RewriteRule directives are processed.
-Terence M. Bandoian
Subject:
301 permanent redirects in Apache + Tomcat using mod_jk
From:
Shashidhar Rampally [EMAIL PROTECTED]
Date:
Fri, 11 Apr
Francis,
I placed the following in httpd.conf. However, the next time I visited
xyz.com, it took me to Tomcat home page.
VirtualHost xyz.com:80
DocumentRoot /not/a/valid/folder
ServerName xyz.com
RedirectMatch Permanent /(.*) http://www.xyz.com/$1
/VirtualHost
VirtualHost
2008/4/11, Shashidhar Rampally [EMAIL PROTECTED]:
Francis,
I placed the following in httpd.conf. However, the next time I visited
xyz.com, it took me to Tomcat home page.
VirtualHost xyz.com:80
DocumentRoot /not/a/valid/folder
ServerName xyz.com
RedirectMatch
Francis,
Sorry if I offended you.
Those links are
www.xyz.com/specsheets.html - www.xyz.com/specsheet.jsp
www.xyz.com/aboutus.html - www.xyz.com/aboutus.jsp
www.xyz.com/mission/mission.html moved to www.xyz.com/mission.jsp
etc.
No, I do know anything about mod_proxy. I will look into it right
I am sorry, I meant I do not know anything about mod_proxy.
On Fri, Apr 11, 2008 at 3:53 PM, Shashidhar Rampally
[EMAIL PROTECTED] wrote:
Francis,
Sorry if I offended you.
Those links are
www.xyz.com/specsheets.html - www.xyz.com/specsheet.jsp
www.xyz.com/aboutus.html -
16 matches
Mail list logo