PDA

View Full Version : filenames and altering


scroots
02-05-2003, 07:39 PM
can i change some setting on my PC (windows 98) so that i can save a file with just the extension like .htaccess and .htpasswd as i run apache on my PC so i can test my scripts locally and it is frustrating that i have to FTP .htaccess to myself.

any ideas?

scroots

brothercake
02-05-2003, 07:44 PM
A decent text-editor should solve that; while windows explorer won't allow you to create a file called .htaccess, you should have no problem creating a file within the editor and then saving it as .htaccess

I use textpad (http://www.textpad.com)

scroots
02-05-2003, 07:59 PM
thanks for your help


scroots

Spookster
02-06-2003, 06:31 PM
You can use notepad that comes with windows to create the files. When you save the file change "Savae as type" to "All files" and enclose the filename with quotes:

".htaccess"

and click save

scroots
02-06-2003, 06:48 PM
thank for all your ideas i will try them out

scroots