Page 1 of 1

No one knows about Mod_Rewrite????????

Posted: Sat Mar 11, 2006 1:49 am
by heerajee
Two files on the FTP server in the folder test(index.php, check.php). index.php file has the link like
<a href="check.php">click here</a>.
:oops: This link does well, but i want that when the user clicks on this link, the check.php files opend but in the address bar the address displayed as check.html instead of check.php.
For this i am using this code but it is not working the address bar is showing the address as chec.php
***********************
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^check\.html$ check.php [T=application/x-httpd-php,L]
***********************
I will be very thankful to you for this help, wasting alot of time.
Thanks.

Re: No one knows about Mod_Rewrite????????

Posted: Sat Mar 11, 2006 1:53 am
by timvw
heerajee wrote: check.php instead check.php
What am i missing here? There is no way to alter the URL in the addresbar of a browser (My browser doesn't have an address bar)