> I have a (hopefully) quick question about the meaning of "/" in regexp 
> attributes of the rewrite-dispatch tags.  For example:
> 
> <dispatch regexp="/|\.html" name="...">

This will match any request that has a '/' (basically every request has a '/')

Something like the following will change .html to .jsp 
http://www.caucho.com/resin/admin/rewrite.xtp

<web-app>
   <rewrite-dispatch>
    <dispatch regexp="\.html" target=".jsp"/>


Thanks,
Alex

> ...
> </dispatch>
> 
> Does the "/" have the same meaning as in servlet mappings, i.e. "default"? Or 
> does it only match requests for "/"?  That is, does the above <dispatch> 
> match a request for "/foo.jpg", in addition to "/" and "/bar.html"?


> 
> Thanks,
> Ethan
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest




_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to