Oh wow ... very cool. Thanks Joel. I'm going to dig into this and learn exactly what a rewrite rule is first thing tomorrow! :)
Neal -----Original Message----- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 8:38 PM To: Tomcat Users List Subject: RE: Tomcat - a search engine liability?!?! > the SSL certificate is already bound to Tomcat ... I think I'd have to buy > another to work with Apache. Sigh. Don't do it until you prototype your solution and make sure that it works for you. > The primary problem [is] to not redirect (http 302) to a different URL, > I want it to stay at http://www.xyz.com and simply show the contents of > the default page To make sure I wasn't giving you a bum steer, I did a quick test. Without any RewriteRule, if I went to a test http://host/, I would get: "GET / HTTP/1.1" 302 647 "-" "GET /index.html HTTP/1.1" 200 2841 "-" Adding: RewriteRule ^/$ /index.html [L] changed it so that I got: "GET / HTTP/1.1" 200 2841 "-" No more 302 redirect. :-) --- Noel -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
