Can Apache force a user to enter his/her username for a particular file on the Apache web server? For instance, we require that only particular users have access to a public yet private.htm file. Public as in, the authorized user can access via the WWW but private as in ONLY the authorized user can access the page via a login prompt. With all do respect, we know how to do this in Windows (No, I didn't just curse anyone) but can't figure out how to do this in Linux/Apache. Your help with this private.htm file issue will be greatly appreciated. :wink:
It's very possible, and very easy. Unfortunately, I don't remember how to do it. I do know that you specify it with a directive in the .htaccess file, though, so check that out, if noone can tell you directly. The docs are available on http://www.apache.org/.