Advertise here: Contact FM.


Windows .htaccess question
June 22, 2004 8:30 AM   RSS feed for this thread Subscribe

Stupid newbie web "development" question, please help! How do I get windows not to ask me for a filename (as opposed to just the extension) when I try to create a .htaccess or .htpasswd file? Am I missing something really simple? Google assumes that anyone fooling around with this would, you know, actually sort of know what they were doing.

It's windows 2000, if it matters. And I'm trying either to rename a blank .txt file or save as from notepad, and neither seems to be doing the trick.
posted by loquax to computers & internet (7 comments total)
I've run into the same problem, and solve it by installing Properties Plus, right-clicking on the file, bringing up Properties Plus, and renaming it using the filename and extension fields at the top. Windows doesn't even notice afterward.
posted by Danelope at 8:47 AM on June 22, 2004


On Windows 2000, in notepad I can click File, Save As ..., type .htaccess as the File name, change "Save as type" to "All Files", then click Save, and it works for me.
posted by Sirius at 8:48 AM on June 22, 2004


You can also rename a file to anything you want using a command prompt.
posted by vraxoin at 8:49 AM on June 22, 2004


Call it something else on your own machine (say, htaccess.txt) and rename it on the server after you've uploaded it.
posted by rory at 9:01 AM on June 22, 2004


Ah thank you kindly. Great solutions one and all. I thought I was going to have to end up doing something drastic, like installing unix.
posted by loquax at 10:03 AM on June 22, 2004


have you tried quoting the name?
posted by danOstuporStar at 10:24 AM on June 22, 2004


On Windows 2000, in notepad I can click File, Save As ..., type .htaccess as the File name, change "Save as type" to "All Files", then click Save, and it works for me.

Ditto. This is how I do it.
posted by rhapsodie at 1:58 PM on June 22, 2004


« Older I've been assigned to develop ...   |   For anyone who works in HR, do... Newer »
This thread is closed to new comments.