DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23808>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23808 HTTP Proxy Controller: patterns don't work ------- Additional Comments From [EMAIL PROTECTED] 2003-10-15 14:14 ------- >From component_reference.html, 13.4.3 HTTP Proxy Server Both patterns to include and exclude are: "Regular expressions that are matched against the URL that is sampled" This means that the values must be valid REs, as has been seen. What is not at all obvious is that the word "match" has a very specific meaning - the result of the regular expression must match the WHOLE of the object being matched against. That is why \.gif did not work (sorry, I misled you there). There is a paragraph a bit further down in the section which gives the example of using ".*\.html", but the example is buried in the text. It would help if there was a bit more explanation. Pattern matching does work, but the error handling and documentation need to be improved. As to automatically escaping the patterns: this would make it difficult or impossible to support actual REs. One longer-term solution might be to allow each pattern to be treated as either an RE or as plain characters, e.g. by adding a check-box for each field. And one could support "contains" as well as "matches" etc. But that would entail quite a bit of extra work. Feel free to contribute a patch! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
