Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 10 to 10 | ||||||||
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... |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
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 alexwebNote 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 |