Question ????

May 21, 2003 by Sarmad Azad

Hi .... I don't think I have you answer but you do have my answer ...LOL

I have Apache Serve on Win2000 ... and I like to make one folder in the site protected by a password ....

www.anyname.com/folder

so every thing under this folder will be protected ...

 

how i can do that ????

 

Thank you for your Time

Sarmad M. Azad

Førde, Norway

RE: Question ????

February 26, 2004 by Jonathan Poissant
Pretty simple EVERYTHING that will be in a folder (and sub-directories) of a .htaccess is affected by the call you make into that .htaccess page. To protect: www.anyname.com/folder put a file at www.anyname.com/folder/.htaccess with the basic authentification for login password. look at http://wsabstract.com/howto/htaccess.shtml for a lot of info about how to use .htaccess file