.htaccess - htaccess deny from lasts nine numbers -
i have little question,
how can use deny from
on .htaccess
deny connection from:
111.111.111.11*
?
i tried use *
, *.*
didn't work.
i deny number
111.111.111.110
to
111.111.111.119
any ideas?
i think you'll need use setenvif
, so:
setenvif remote_addr ^111\.111\.111\.11[0-9]$ getout=1 order allow,deny allow deny env=getout
see the docs setenvif , a document access control similar example.
Comments
Post a Comment