tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shashidhar Rampally" <shashi.rampa...@gmail.com>
Subject Re: 301 permanent redirects in Apache + Tomcat using mod_jk
Date Fri, 11 Apr 2008 21:55:23 GMT
I am sorry, I meant I do not know anything about mod_proxy.

On Fri, Apr 11, 2008 at 3:53 PM, Shashidhar Rampally
<shashi.rampally@gmail.com> 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 -> 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 away.
>
>  Thanks,
>  Shashi
>
>
>
>
>
>
>
>  On Fri, Apr 11, 2008 at 3:28 PM, Francis Galiegue <fgaliegue@gmail.com> wrote:
>  > 2008/4/11, Shashidhar Rampally <shashi.rampally@gmail.com>:
>  >
>  > > 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 www.xyz.com:80>
>  >  >         DocumentRoot /usr/lib/apache-tomcat/webapps/xyz/
>  >  >         ServerName www.xyz.com
>  >  >  </VirtualHost>
>  >  >
>  >  >
>  >  >  Your's is not a comprehensive/clean solution. We also moved about 10
>  >  >  links. So I also wish to permanently redirect these HTML pages too.
>  >  >
>  >  >  So what would really help me is a URL rewriting module/plug-in like
>  >  > mod_rewrite.
>  >  >
>  >
>  >  Please clarify. What are these "10 links"? Individual files or whole
>  >  directories/webapps?
>  >
>  >  Also, have you considered mod_proxy (ProxyPass and ProxyPassReverse)?
>  >
>  >  --
>  >
>  >
>  > Francis Galiegue, fgaliegue@gmail.com
>  >  "When it comes to performance, weight is everything" - Tiff Needell
>  >
>  >  ---------------------------------------------------------------------
>  >  To start a new topic, e-mail: users@tomcat.apache.org
>  >  To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>  >  For additional commands, e-mail: users-help@tomcat.apache.org
>  >
>  >
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message