Apache 접속 인증 추가 두가지 방법
Apache 접속 인증 추가는 .htaccess에 인증 설정을 추가하는 방법이 가장 잘 알려져 있고, 많이 사용되고 있습니다. 단, .htaccess는 디렉토리 설정으로 Apache에서는 httpd.conf에 설정된 directory 설정과 해당 경로의 .htaccess 파일중 하나만 인식하는 문제가 있습니다. 그렇기 때문에 접속 인증만 추가해야하는 경우에는 virtualhost 설정에 location 설정을 통해서 .htaccess를 사용하지 않고, 인증 설정을 할 수 있습니다. 패스워드 파일 생성 # htpasswd -c /home/warpmemory/www/secret/.htpasswd warpmemory New password: mypassword Re-type new password: mypas..
엔지니어링
2020. 3. 24. 18:24
warpmemory
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
페이지
TAG
- limits
- 예제
- error
- Linux
- command
- monitoring
- configuration
- mysql
- apache
- Windows
- Web
- Python
- engineering
- 이슈처리
- Module
- 코드
- MariaDB
- example
- client
- code
- httpd
- File
- 명령어
- check
- RESTful
- Ansible
- 번역
- 외부링크
- deview
- PowerShell
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함