Home
last modified time | relevance | path

Searched refs:deny (Results 1 – 10 of 10) sorted by relevance

/lighttpd1.4/src/t/
H A Dtest_mod_access.c12 array *deny = array_init(0); in test_mod_access_check() local
18 assert(1 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
20 array_insert_value(deny, CONST_STR_LEN("~")); in test_mod_access_check()
21 array_insert_value(deny, CONST_STR_LEN(".inc")); in test_mod_access_check()
25 assert(0 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
28 assert(0 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
32 array_insert_value(deny, CONST_STR_LEN(".txt"));/* allow takes precedence */ in test_mod_access_check()
36 assert(1 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
39 assert(1 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
44 assert(0 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
[all …]
/lighttpd1.4/doc/outdated/
H A Daccess.txt14 The access module is used to deny access to files with given trailing path names.
24 The access module is used to deny access to files with given trailing path names.
29 url.access-deny
36 url.access-deny = ( "~", ".inc")
38 will deny access to all files ended with a diacritical mark (~) or .inc
H A Dconfiguration.txt157 # deny access for all googlebot
159 url.access-deny = ( "" )
162 # deny access for all image stealers
164 url.access-deny = ( ".jpg", ".jpeg", ".png" )
167 # deny the access to www.example.org to all user which
171 url.access-deny = ( "" )
H A Dextforward.txt36 - Arrange things so that a url.access-deny under scope of a
H A Dfeatures.txt66 is no way to allow or deny based in IP address.
H A Dmagnet.txt282 and deny special sequences that look like SQL injection.
/lighttpd1.4/tests/
H A Dlighttpd.conf124 url.access-deny = (
136 url.access-deny = (
149 url.access-deny = (
157 url.access-deny = (
184 url.access-deny = (
/lighttpd1.4/src/
H A Dmod_access.c99 static int mod_access_check (const array * const allow, const array * const deny, const buffer * co… in mod_access_check() argument
108 if (deny && deny->used) { in mod_access_check()
110 ? array_match_value_suffix(deny, urlpath) in mod_access_check()
111 : array_match_value_suffix_nc(deny, urlpath); in mod_access_check()
/lighttpd1.4/doc/config/
H A Dlighttpd.conf339 url.access-deny = ( "~", ".inc" )
/lighttpd1.4/
H A DNEWS3408 …* req-method OPTIONS: do not insert default response if request was denied, do not deny OPTIONS by…
3476 * fixed circumventing url.access-deny by trailing slash (#1230)