.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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -