Getting .htaccess to work on windows apache
3 Jun
Could figure out how to actually write the .htaccess file in windows as when i tried to rename the txt file I created to .htaccess it popped up an error saying “You must type a file name”.
The solution:
1. Open up notepad
2. Write the contents of your .htaccess
3. Save as
4. “.htacess” – Make sure you keep the speech marks.
5. Sorted
Related posts:

Not sure about this as I am having general issues with getting htaccess working in windows. But you should know about the directive in httpd.conf of Apache
AccessFileName .htaccess
Go into the directive in httpd.conf of Apache
Look for:
AccessFileName .htaccess
change the filename to look for to something like:
ht.htaccess
Now apache looks for “ht.access” and windows is happy too.
Do this on a provate or testing server ONLY an when uploading simply rename the file to .htaccess
How do I get this to work on a hosted server running windows?
The most comprehensive info I have found on this subject on the net. Will be back soon to follow up….