Forum Moderators: phranque
Any ideas?
Welcome to WebmasterWorld [webmasterworld.com]!
You can specify the name to be used for (instead of) .htaccess using the AccessFileName directive; See
[httpd.apache.org...]
Jim
I'm using XP too (I've also got Apache server on my box, but that's irrelevant). When you save your .htaccess file, you should save it as a text document, plus when you're asked for a file name, make sure to enclose it in quotes. For example, to save in Notepad, here are the values I would use:
File name: ".htaccess"
Save as type: Text documents (.txt)
If you specify AccessFileName once time in httpd.conf as I mentioned above, you won't have to mess with these problems each and every time you edit.
You really only have to deal with the problem once: when the file is created.
If the .htaccess files are in multiple directories, and you have to upload them to a shared server, it would be time-consuming to rename the files every time they're uploaded.
In the description for this thread, it says:
Windows file-naming conventions won't allow .htaccess filename
I was just trying to show that that statement wasn't true.