tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "neal" <nealcab...@yahoo.com>
Subject RE: Tomcat - a search engine liability?!?!
Date Thu, 12 Dec 2002 05:28:38 GMT
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:noel@devtech.com]
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message