i know that this is not really a php question, but maybe someone here can help me anyway:
how can i create a .htaccass-file under windows? it always says: "please specify a filename".
any help is welcomed, thanx, Phlow.
maybe it helps if you make it .htaccess of it :-)
You must use DOS Commands or Command Prompt and rename the file use REN command...
C:> CD Directory 1\Directory 2\Directory 3 C:\Directory 1\Directory 2\Directory 3>ren htaccess.txt .htaccess
If your using notepad when your saving it select all All Files then name is exactly like the following with quotes ".htaccess" This works very well.
It won't work with Notepad under Windows 2000 ! "You must specify a filename" !
A good reason to use textPad or UltraEdit 🙂
As stated before save it as x.htaccess then go to a command prompt and rename it to .htaccess.