httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <di...@webweaving.org>
Subject Location /
Date Mon, 05 Jul 1999 16:29:30 GMT

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


Mime
View raw message