Difference: PrivateWebpages (1 vs. 2)

Revision 22011-11-29 - GustaafBrooijmans

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Here's how to "privatize" nevis webpages:
Line: 10 to 10
  require valid-user
Added:
>
>
 You need to generate the .htpasswd file using htpasswd, e.g. in your home dir do:
Changed:
<
<
htpasswd -c .htpasswd alexweb
>
>
htpasswd .htpasswd alexweb
  Note that you can have multiple "accounts", each with their own password. Useful if some things are to be shared with some people and others with others...

Revision 12011-01-20 - GustaafBrooijmans

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"
Here's how to "privatize" nevis webpages:

In your WWW directory (or better a subdirectory made for that purpose so that your main directory remains open) put a file .htaccess with contents:

AuthType Basic 
AuthName <account name>  (for example alexweb) 
AuthUserFile <your home dir>/.htpasswd 
AuthType Basic 
<Limit GET> 
require valid-user 
</Limit> 
You need to generate the .htpasswd file using htpasswd, e.g. in your home dir do:
htpasswd -c .htpasswd alexweb

Note that you can have multiple "accounts", each with their own password. Useful if some things are to be shared with some people and others with others...

-- GustaafBrooijmans - 20 Jan 2011

 
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