Difference: WebGuide (5 vs. 6)

Revision 62014-07-01 - WilliamSeligman

Line: 1 to 1
 
META TOPICPARENT name="Computing"

Nevis Web Setup Guide

Line: 211 to 211
 

Password protection

How 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.

It's possible that the htpasswd command is not available on your machine. If not, let me know and I'll install it. (It's normally not part of a Linux installation unless the machine is going to host a web server.)

>
>
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.

It's possible that the htpasswd command is not available on your machine. If not, let me know and I'll install it. (It's normally not part of a Linux installation unless the machine is going to host a web server.)

  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:
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback