-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

> This RewriteRule maps the entire namespace to the servlet
> /myZone/slash.  I have played around with various RewriteRules and can't
> find a way to avoid mapping the entire namespace.  So I have ended up
> using a redirect (which isn't a very performant solution).

Use a RewriteCond + a RewriteRule.

<http://www.apache.org/docs/mod/mod_rewrite.html#RewriteCond>

The logic is something like this:

if REQUEST_URI == / || REQUEST_URL == index.html
    RewriteRule

-jon


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to