|
Script for IP based redirect
Can anyone help me out with a script that can redirect based on IP address?
I want all of my computers on my LAN, 192.168.1.1-255 to be redirected to a specific page.
IE When I type in test.homeip.com it goes to my web server and reads the index.html file. If the IP is in the 192.168.1.0 range it will redirect to 192.168.1.10:80 and if its any other IP it will send it to 192.168.1.11:80
Thanks!
Last edited by swhetsel; 04-09-2012 at 08:30 PM..
|