Jump to content

code not running


hamza

Recommended Posts

RewriteEngine On
RewriteBase   /the_directory

RewriteRule  ^(.*).html$ $1.php [R=301]

 

above is my code which will change the extension from html to php.

 

my dir structure is

c:\appserv\www\myfile.html

 

and same form .htaccess

when i load the myfile.html

 

it is not runing as i am expecting?

plz help me

 

 

Link to comment
https://forums.phpfreaks.com/topic/177548-code-not-running/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.