[Editor's note: I have added one key missing instruction about modifying apache.conf to the details; this is also discussed in the comments.]
"Guestwhat" wrote in with a question:
"Guestwhat" wrote in with a question:
Could someone help me to enable a turn key on my web site in Mac OS X Beta? What I meant was when a user log go to my web site I want to have a username and password inorder for them to access.One method of doing this is with .htaccess files. When your server goes to serve a page, it looks in the top directory for an .htaccess file, and then checks each sub-directory down to and including the directory that holds the requested page. So if you place an .htaccess file in the top directory of your server pages folders, you will protect all the files in your domain. Read on to see how I used this to protect my home site.