.htaccess - How to set rewrite cond apache by Ip range -


i have rewrite cond in .htaccess

rewritecond %{remote_addr} !^195.16.40.50 

how set rewritecond ip range 192.168.0.0 192.168.32.255

this condition should match ip range:

rewritecond %{remote_addr} ^195\.168\.([0-9]|[1-2][0-9]|3[0-2])\.[0-9]+$ 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -