Re: [Resin-interest] Simple documentation fixes
Aaron Freeman wrote: > - > http://caucho.com/resin-4.0/admin/http-rewrite.xtp#Servlet%20Filters > > Header should say something like: "Example: Servlet Filter" > > Just a copy/paste error from the example above it. > > - > http://caucho.com/resin-4.0/reference.xtp#resin:SetHeader > > The " Attributes" section is missing a regex > attribute. Also, is it required? > > > - > http://caucho.com/resin-4.0/reference.xtp#resin:SetVary > > Same as above. > > The " Attributes" section is missing a regex attribute. > Also, is it required? > Thanks. No, the regexp isn't required. If it's missing, the rewrite filters will match any URL. By the way, the filters, dispatch rules and predicates are simple to implement, so if there's any capability that we're missing, just file a bug report and we can add it easily. For example, we can add a as a special case of SetHeader, and we might add a and a . -- Scott > > > ___ > 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
Re: [Resin-interest] Simple documentation fixes
Oops I left off the name space stuff out of habit. Added that in per the example and it's working properly. On 2/15/2011 9:05 AM, Aaron Freeman wrote: > Also, when trying these examples, I get: > > 'resin:SetHeader' is an unknown property of > 'com.caucho.server.webapp.WebApp'. > > So I am guessing it needs to be wrapped inside of something else? > > > > On 2/15/2011 8:55 AM, Aaron Freeman wrote: >> - >> http://caucho.com/resin-4.0/admin/http-rewrite.xtp#Servlet%20Filters >> >> Header should say something like: "Example: Servlet Filter" >> >> Just a copy/paste error from the example above it. >> >> - >> http://caucho.com/resin-4.0/reference.xtp#resin:SetHeader >> >> The " Attributes" section is missing a regex >> attribute. Also, is it required? >> >> >> - >> http://caucho.com/resin-4.0/reference.xtp#resin:SetVary >> >> Same as above. >> >> The " Attributes" section is missing a regex attribute. >> Also, is it required? >> >> >> >> ___ >> 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 > > ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Simple documentation fixes
Also, when trying these examples, I get: 'resin:SetHeader' is an unknown property of 'com.caucho.server.webapp.WebApp'. So I am guessing it needs to be wrapped inside of something else? On 2/15/2011 8:55 AM, Aaron Freeman wrote: > - > http://caucho.com/resin-4.0/admin/http-rewrite.xtp#Servlet%20Filters > > Header should say something like: "Example: Servlet Filter" > > Just a copy/paste error from the example above it. > > - > http://caucho.com/resin-4.0/reference.xtp#resin:SetHeader > > The " Attributes" section is missing a regex > attribute. Also, is it required? > > > - > http://caucho.com/resin-4.0/reference.xtp#resin:SetVary > > Same as above. > > The " Attributes" section is missing a regex attribute. > Also, is it required? > > > > ___ > 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
[Resin-interest] Simple documentation fixes
- http://caucho.com/resin-4.0/admin/http-rewrite.xtp#Servlet%20Filters Header should say something like: "Example: Servlet Filter" Just a copy/paste error from the example above it. - http://caucho.com/resin-4.0/reference.xtp#resin:SetHeader The " Attributes" section is missing a regex attribute. Also, is it required? - http://caucho.com/resin-4.0/reference.xtp#resin:SetVary Same as above. The " Attributes" section is missing a regex attribute. Also, is it required? ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest