DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40169>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40169





------- Additional Comments From [EMAIL PROTECTED]  2006-09-20 00:14 -------
(In reply to comment #7 and #8)

> Agreed.  I think the documentation could be worded a 
little better, and even the
> addition of a CacheEnableMatch could be handy.  I think 
your suggestion is
> correct for the problem at hand though.

Oh I got impatient with the matching logic and while I have 
not added 'CacheEnableMath' or 'CacheDisableMatch' I have 
rewritten and rather generalized the matching process by 
giving it comprehensible semantics.

I found that the matching logic is passed not the URI but 
four distinct fields for scheme, hostname, port and path, so 
they are matched separately. Then I decided that the scheme 
should not be really prefix-matched. Among the changes:

* Now a "/...." will not match a proxy URI 
like "http://...";, and viceversa of course.

* Prefix matching for hostnames does not make much sense, do 
I have added minimal suffix matching: "*w.example.com" will 
match any hostname ending in "w.example.com" 
and ".example.com" will match any hostname ending 
in ".example.com".

All I have tested it a bit (I have removed the extensive 
debugging code from the submitted patch) and it is all 
nicely commented.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to