This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Location /> | |
AuthType Basic | |
AuthName "Fabulous Demo" | |
AuthUserFile /path/to/htaccess/file | |
Require valid-user | |
</Location> |
You can configure HTTP Basic in a few different ways, but the above is usually what you are going to want.
I tried this but keep getting the error:
ReplyDelete/path/to/htaccess/file: No such file or directory
Help!
@Kevin, dude, stop fooling, some others might need a .htaccess tutorial but not you! For those of you, look here:
ReplyDeletehttp://httpd.apache.org/docs/2.0/howto/htaccess.html