GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   .htaccess ip block (https://gfy.com/showthread.php?t=173668)

shitstain 09-12-2003 12:53 PM

.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?

Juicy D. Links 09-12-2003 12:54 PM

yes it can be done

shitstain 09-12-2003 12:56 PM

Quote:

Originally posted by juicylinks
yes it can be done
thanks for the help juicy :thumbsup

Juicy D. Links 09-12-2003 12:58 PM

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]

shitstain 09-12-2003 01:02 PM

That looks like it redirects based on a referrer.. i need the redirect based on certain ips :(

Babaganoosh 09-12-2003 01:05 PM

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

shitstain 09-12-2003 01:08 PM

Quote:

Originally posted by Armed & Hammered
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

thanks A&H :thumbsup


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