![]() |
.htaccess ip block
i looked on google for the answer for this but I can't find exactly what I'm looking for. Thought someone here may have used this before. I am looking to deny access to certian ips and than redirect them to another page.
Can this be done ? and does anyone have an example? |
yes it can be done
|
Quote:
|
RewriteCond %{HTTP_REFERER} http://www.gratisplaatjes.nl [NC,OR]
RewriteCond %{HTTP_REFERER} http://www.gratisplaatjes.nl [NC] RewriteRule /* http://www.xxxx.com/404.html [R,L] |
That looks like it redirects based on a referrer.. i need the redirect based on certain ips :(
|
ErrorDocument 403 http://www.booyah.com
order allow,deny deny from 217.227.253 deny from 66.185.84 deny from .ru deny from .cn allow from all |
Quote:
|
| All times are GMT -7. The time now is 06:55 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123