<?php
// mod_rewrite Test Page
if($_GET['NewsID']==1){echo"You are not using mod_rewrite";}
elseif($_GET['NewsID']==2){echo"Congratulations!! You are using Apache mod_rewrite";}
else{echo"Linux Apache mod_rewrte Test Tutorial";}
?>
<p><a href="rewrite.php?NewsID=1">LINK1</a> = rewrite.php?link=1</p>
<p><a href="NewsID2.html">LINK2</a> = link2.html</p>