PDA

View Full Version : .htaccess and .htpasswd



swat
08-03-2005, 01:44 PM
how do i make those files my pc says when i try to name it "you must type a file name"

if some one could post some blank ones with nothing in them that would be great!!!! :D :D

thank you in advance!!!!!!!!!!!

(i need this for the password thing here: http://tools.dynamicdrive.com/password/)

Twey
08-03-2005, 03:20 PM
Use DOS, it's not quite so stupid.

Start->Run cmd
C:\> cd C:\Path\To\File
C:\Path\To\File> type nul > .htaccess
C:\Path\To\File> type nul > .htpasswd
C:\Path\To\File> exit

This might work. If not, create it with a different name and rename it on the server.

swat
08-03-2005, 04:35 PM
ok i named the files and did just like what DD said to do but it still will not let me log in