Advertisement
Guest User

Jack Wallen

a guest
Dec 5th, 2009
3,745
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.64 KB | None | 0 0
  1. <h2 align=center>
  2. <?php
  3. // mod_rewrite Test Page
  4. if($_GET['link']==1){echo"You are not using mod_rewrite";}
  5. elseif($_GET['link']==2){echo"Congratulations!! You are using Apache mod_rewrite";}
  6. else{echo"Linux Apache mod_rewrte Test Tutorial";}
  7. ?>
  8. </h2>
  9.  
  10. <hr>
  11.  
  12. <head>
  13. <title>Testing mod_rewrite in your Apache Linux Server</title>
  14. </head>
  15.  
  16. <body>
  17. <p><a href="rewrite.php?link=1">LINK1</a> = rewrite.php?link=1</p>
  18. <p><a href="link2.html">LINK2</a> = link2.html</p>
  19. <p>How this works: both links actually direct you to the same page, but do so in different ways. Link 1 does not use the mod_rewrite engine and Link 2 d$
  20. </body>
  21. </html>
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement