Asraful Haque
Asraful Haque

Reputation: 1125

Why .htaccess does not support in Windows?

Good evening to all my beloved friends and respected participants!

I had face this problem that windows does not support .htaccess file .May I know why Window does not support this file extension?

Upvotes: 1

Views: 341

Answers (1)

jbltx
jbltx

Reputation: 1315

Windows can't use files without name, because the dot in the name means htaccess is an extension for it. Unfortunately it's not the case. .htaccess is the full name of the file. If you want to rename a txt file to .htaccess, you can use windows command line :

rename "file.txt" ".htaccess"

Upvotes: 3

Related Questions