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 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, [EMAIL PROTECTED] "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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]