How To Set Up Password Authentication with Apache on Ubuntu 14.04 | DigitalOcean
When setting up a web server, there are often sections of the site that you wish to restrict access to. Web applications often provide their own authentication and authorization methods, but the web server itself can be used to restrict access if thes
www.digitalocean.com
$ sudo htpasswd -c /etc/apache2/.htpasswd username
하면 알아서 비밀번호 입력하라고 뜬다
그다음
$ sudo nano /etc/apache2/sites-enabled/000-default.conf
들어가서
요로코롬 넣어주면 된다.
'Others' 카테고리의 다른 글
꿀팁) Pulse Secure Windows 10에서 사용 (0) | 2019.05.22 |
---|---|
웹 브라우저로 Terminal 쓰기: Butterfly (0) | 2019.05.22 |
Pulse Secure 사용 법 (Ubuntu 18.04) (0) | 2018.09.29 |
티스토리 블로그 노출 (0) | 2016.09.13 |
블로그 배경이미지 변경했습니다 ㅎ (0) | 2016.09.13 |
댓글