> ASP, and JSP were the only dynamic extensions I consistantly
> saw that were being indexed.

> Google does NOT index any servlet, framework class, or cgi file.

I haven't reviewed your facts for accuracy, so take this with a grain of
salt.  But *IF* the world according to Google is as you say it is, and I
needed to use some funky extension, I would consider using mod_rewrite to
rewrite request URLs, and a filter to rewrite URLs in the response data
stream.

This is similar to an issue recently raised in a thread "static url
routing".  In your case, the browser might see
http://host/mypath/mdlx/page.html and you would want tomcat to see
/mypath/page.mdlx.

Actually, I would always rewrite request URLs, but only rewrite the response
data stream for a search engine like Google.  Waste of cycles otherwise, and
I'd want to eliminate the rewrite when search engines are more RESTful.

> Tomcat standalone automatically redirects (http 302) to [welcome file]

I assume that you mean '/' -- 302 --> '/index.jsp', as in your example of
"http://www.xyz.com [goes to] http://www.xyz.com/index.html";?  IIRC, you can
eliminate the round trip to the browser by rewriting the URL, e.g.,

RewriteRule ^(.*)/$  $1/index.jsp -- or whatever you want to use.

        --- Noel


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to