You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dirk-Willem van Gulik <di...@webweaving.org> on 1999/07/05 18:29:30 UTC
Location /
I would have expected
<Location />
To purely match
http://myserfer.com/
i.e. just a single / and
<LocationMatch />
to basically match just about any URI which has a / anywhere. But that is
not what we do in
static int location_walk(request_rec *r)
...
entry_url = entry_core->d;
len = strlen(entry_url);
....
else if (!strncmp(test_location, entry_url, len) &&
(entry_url[len - 1] == '/' ||
test_location[len] == '/' || test_location[len] == '\0')
)
this_conf = entry_config;
Is this a bug in the code or a bug in the manual pages
or just me being warped ?
Dw