Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Web Setup Guide | ||||||||
Line: 211 to 211 | ||||||||
Password protectionHow do I "password protect" a directory so that only people with a password can access the directory with a web browser? | ||||||||
Changed: | ||||||||
< < | The trick is to set up a .htaccess and .htpasswd
file in the directory that you wish to be protected. You can find
instructions here![]() ![]() | |||||||
> > | The trick is to set up a .htaccess file in the directory that you wish to be protected and a .htpasswd file in some other directory. You can find instructions here![]() ![]() | |||||||
Also, as you create your .htaccess file, bear in mind that your home directory is not in /home ; it's your home directory as seen by the Linux cluster. Use the command: |