apache mod rewrite testing example using phpinfo php function

apache mod_rewrite testing example using phpinfo php function

apache-mod-rewrite-testing-example-using-phpinfo-php-function.php


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>apache mod_rewrite testing example using phpinfo php function</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <meta name="Author" content="Md Iqbal Hosan">
  <meta name="title" content="apache mod_rewrite testing example using phpinfo php function">
  <meta name="keywords" content="php, example, code, mod_rewrite, function, apache, phpinfo">
  <meta name="description" content="apache mod_rewrite testing example using phpinfo php function">
  <style>
   h2, h4{background:orange; color:#000085;}
   h2{ padding:3px; margin:3px; font-size:22px;}
   h4{ padding:2px; margin:2px; font-size:19px;}
   p{padding:2px; margin:2px; color:#0099FD;}
   body{ background:#FFFFFC;}
  </style>
 </head>
 <body>
  <h2>apache mod_rewrite testing example using phpinfo php function</h2>
  <?php
   /*
    -----------------------------------------------------------------------------------------
    we can test whether mod_rewrite module is enabled or not by using php phpinfo function
    -----------------------------------------------------------------------------------------
   */
   phpinfo();
   /*
    ---------------------------------------------------------------
    i am running above code in an apache web server on windows-XP 
    ---------------------------------------------------------------
   */
   /*
    --------------------------------------------------------------------------
    run the above code on your web server and find the output in the browser
    search for 'mod_rewrite' whether mod_rewrite module is loaded and enabled
    or not
    --------------------------------------------------------------------------
   */
  ?>
 </body>
</html>

apache mod_rewrite testing example using phpinfo php function - output in the browser for web server info

apache mod_rewrite testing example using phpinfo php function - output in the browser for apache mod_rewrite module info

No comments:

Post a Comment

leave your comments here..