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 (https://gfy.com/showthread.php?t=76700)

kenny 09-11-2002 06:05 PM

.htaccess
 
what do I put in my .htaccess file to redirect surfers coming from a certain IP or domain?
Thanks

dirtymonkey 09-11-2002 06:40 PM

.htaccess - this works for me.

RewriteEngine on
RewriteCond %{HTTP_REFERER} http://.*yahoo.com/.*$ [OR]
RewriteCond %{HTTP_REFERER} http://.*sexy.yahoo.com/.*$ [OR]
RewriteCond %{HTTP_REFERER} http://.*64.*.250/.*$ [OR]
RewriteCond %{HTTP_REFERER} http://.*216.*.250/.*$
RewriteRule ^(.*)$ http://www.hotmail.com [R,L]


All times are GMT -7. The time now is 10:56 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123