-
MODX Staff
- 2,502 Posts
I know this thread was about changing the extension of ht.access to .htaccess but if you are dev/designing on XP you should download Notepad++ or some other text editor. Native Windows Notepad and Wordpad can do funky things to your text. On my XP box I use e-TextEditor but Notepad++ or jEdit are both pretty good for such work.
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub
-
☆ A M B ☆
- 24,524 Posts
Back when I had Windows, I used Crimson Edit. It had a lot of good features, like the ability to do search-and-replace across multiple files, line numbers, color syntax highlighting and a bunch of other goodies.
http://www.crimsoneditor.com/
Quote from: markg at Aug 30, 2008, 02:31 AM
Bob, just for my own curiosity, what file type do you select in the drop down box?
As I’m looking at it in XP, it forces the .txt extension on you anyway, even if you do call it.htaccess.
That’s why I always end up doing it in Notepad.
It forces the .txt file-type on me too, but for some reason it saves the file with no .txt extension.
Rename it in filezilla in the client side window, throw it onto the web-server. Never had a problem editing it then in notepad and copying it up to the server.
Windows has always had a problem using files that only have a file extension and no file name. That’s basically what a .htaccess file is to Windows. So, yeah, if you upload the file to the server and then rename it there then that’s the best way to go. However, if you need to use htaccess files on a Windows server running Apache then the best bet would be to configure Apache to use a different name for the htaccess files. Doesn’t have to be .htaccess. Could be ht.access.
Jeff Whitfield
"I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."