I'm using XAMPP to test a PHP script. Now, in the root of the folder I want to place a .htaccess
file according to the requirements of the script.
But Windows won't let me rename it to .htaccess
. Is there any way to go around it?
I'm using Windows 7 RTM.
Answer
this link discusses the same problem on XP.
I'll let you read it and decide if it applies to Windows 7, but the solution involves using a command line.
EDIT:
It starts from the fact that Windows will let you create an htaccess.txt
file
Then
Start Run > cmd
then type
rename c:\pathtoyourhtaccessfile\htaccess.txt .htaccess
will do the trick
No comments:
Post a Comment