httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40169] - CacheEnable not caching Forward proxy
Date Wed, 20 Sep 2006 00:14:30 GMT
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 pg_asf@asf.for.sabi.co.UK  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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message