.htaccess

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kenny
    Confirmed User
    • Mar 2002
    • 7245

    #1

    .htaccess

    what do I put in my .htaccess file to redirect surfers coming from a certain IP or domain?
    Thanks
    7
  • dirtymonkey
    Confirmed User
    • Mar 2002
    • 128

    #2
    .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]

    Comment

    Working...