@ -0,0 +1,2 @@
RewriteEngine On
RewriteRule ^ip/?$ ip.php
@ -0,0 +1,3 @@
<?php
header('Content-Type: text/plain');
echo $_SERVER['REMOTE_ADDR'];