QUOTE (PaxTrax @ May 29 2003, 16:49)
well dave you are not totally right. htaccess is a unix (and linux) feature not an apache thing!
Apache is also for Windows avaiable, but you can't use htaccess!
EEERRR. yeah u can use htaccess in windows, i do it all the time. and even tho ive never used Linux/Unix and apache on those platforms, I think it is an Apache thing.
[edit]
I will take this a little bit further and tell you how to get it working.
In your HTTPD.conf, you should have a setting along the lines of "AllowOverride None" in a directory container usualy root "/" this would need to be changed to "AllowOverride AuthConfig" so that ".htaccess" files are read for Auth information, this works on windows for certain as I have used it lots of times. Anyway, use the program that came with your apache setup called "htpasswd.exe" this will generate the ".htpasswd" files needed for auth and then use
this site to tell you how to put the ".htaccess" together.
Sorry if I sounded off in my reply PaxTrax, its just I know my shit and don't like others telling me different

oh and yes it could be a Unix/Linux thing as it says:
QUOTE
.htaccess files (or "distributed configuration files") provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof.
and its probably been borrowed, but ive never heard of it out of the context of the Apache Webserver so I really don't know
Also, as an example, connect to my server (mysql.fowla.kicks-ass.net) its my database Admin on my windows server protected by .htaccess Auth, Press cancel and you will see the server signature "Win32"
--- Dave