@@ -71,7 +71,7 @@ Execute the following command on one of our managed Linux workstations:
...
@@ -71,7 +71,7 @@ Execute the following command on one of our managed Linux workstations:
htpasswd -B -b -c ${HOME}/public_html/foo/.htpasswd bar foobar
htpasswd -B -b -c ${HOME}/public_html/foo/.htpasswd bar foobar
```
```
(You may also ommit the `-b` parameter and the password. Then you have to type it twice and blindly afterwards. The `-c` parameter is only needed the first time to create the `.htpasswd` file.)
(You may also omit the `-b` parameter and the password. Then you have to type it twice and blindly afterwards. The `-c` parameter is only needed the first time to create the `.htpasswd` file.)
Make sure, the `.htpasswd` and `.htaccess` files are world-readable, e.g. with:
Make sure, the `.htpasswd` and `.htaccess` files are world-readable, e.g. with:
...
@@ -88,7 +88,7 @@ otherwise the webserver won't have access to those files. Again, if you have you
...
@@ -88,7 +88,7 @@ otherwise the webserver won't have access to those files. Again, if you have you
(You may also ommit the `-b` parameter and the password. Then you have to type it twice and blindly afterwards.)
(You may also omit the `-b` parameter and the password. Then you have to type it twice and blindly afterwards.)
See [Authentication and Authorization HowTo by Apache](https://httpd.apache.org/docs/2.4/howto/auth.html) for the gory details and further documentation.
See [Authentication and Authorization HowTo by Apache](https://httpd.apache.org/docs/2.4/howto/auth.html) for the gory details and further documentation.