On Mon, Aug 25, 2008 at 12:20:12AM -0500, William A. Rowe, Jr. wrote: > Joseph S D Yao wrote: > >>> I understand that the argument to the Proxy directive is supposed to be > >>> a shell-style wildcard (rather than a simple prefix match), as the > >>> argument to the ProxyMatch directive is supposed to be a Perl-style > >>> regular expression. > >> Ok. So a shell style wildcard never hits on a path delimiter, right? > > > > That depends on what "shell-style wildcard" means in a given > > implementation. I have seen ones where the path delimiter is not a > > special character. As the '/' is (a) not solely a path delimiter and > > (b) not the unique path delimiter, in a URL, I had not expected that to > > be a special character here. > > Shell wildcards are sensitive to path delimiters; read RFC 2616 and its > cited RFC's; "/" are path delimiters, End of discussion. "Shell" != "shell-style". YES, '/' is a delimiter when interpreting a URL. But in a proxy, the interpretation occurs at the Web server - or other server! - to which proxying is being done. > > In fact, noting that a "*" will match > > "http://www.example.com/dir1/dir2/dir3/page.html", I rather suspect that > > it is not. > > It will. Then '/' is not a delimiter. True end of discussion. > No; they don't - your browser did. But that correction is prior to httpd > handling the request. "/" is the minimal path, see the RFC. Fair point. Please do remember, though, that except in reference implementations, software writers often consider RFC's to be - what is that line from the pirate movie? - more like guidelines. And anyway, there's many a slip 'twixt the intention and the implementation. ;-) > > It is not clear to me that the "*" is redundant. Without it, don't I > > restrict myself to the home page? > > No References? > > All examples I have seen used with > > <Proxy> that are not using "*" end in '*'. > > Who suggested random configurations you discover from google are any good? I'm talking about Apache documentation and published books. I do realize that the latter may need substantiation, as even people who are expert in one part of a project may not be definitive for another part. -- /*********************************************************************\ ** ** Joe Yao jsdy@xxxxxxx - Joseph S. D. Yao ** \*********************************************************************/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx