mirror of https://git.envs.net/envs/help.git
website: update chmod for restricted folder
This commit is contained in:
parent
754e911ac9
commit
1940efdaae
|
@ -47,8 +47,11 @@ this part is located at `~/public_html/restricted/` and you can set it up as fol
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mkdir ~/public_html/restricted
|
mkdir ~/public_html/restricted
|
||||||
|
chmod 705 ~/public_html/restricted
|
||||||
|
|
||||||
touch ~/.htpasswd
|
touch ~/.htpasswd
|
||||||
htpasswd -m ~/.htpasswd username
|
htpasswd -m ~/.htpasswd username
|
||||||
|
chmod 600 ~/.htpasswd
|
||||||
```
|
```
|
||||||
|
|
||||||
## forward / rewrite url to a other site
|
## forward / rewrite url to a other site
|
||||||
|
|
Loading…
Reference in New Issue