본문 바로가기 메뉴 바로가기

KENSEI IT BLOG

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

KENSEI IT BLOG

검색하기 폼
  • KENSEI (810)
    • Mail (5)
    • Security (93)
    • VPN (50)
    • Linux (273)
    • Network (47)
    • DNS (4)
    • Memo (13)
    • Cloud (32)
    • LAYER 4 & 7 (36)
    • HARDWARE (23)
    • windows (27)
    • WEB (28)
    • 프로그램 (33)
    • Unsolved (9)
    • 보안솔루션 (13)
    • 일상&리뷰 (67)
    • container (7)
    • Database (31)
    • Filesystem (11)
  • 방명록

apache 인증 (1)
Apache 웹 인증

웹인증할 계정 생성 계정으로 인증 /usr/local/apache/bin/htpasswd [passwordfile] [username] [password] -c : 처음 [passwordfile] 생성시 붙여줌 /usr/local/apache/bin/htpasswd -c /mrtg/hub/user/.htpasswd user1 : 유저1 /usr/local/apache/bin/htpasswd /mrtg/hub/user/.htpasswd user2 : 유저2 (추가할때) vim .htaccess - 인증걸 디렉토리에 만들어준다 : 파일별로 묶어줄때 쓰는 옵션 AuthName " MRTG1입니다" AuthType Basic AuthUserFile /mrtg/hub/user/.htpasswd AuthGroupF..

Linux 2015. 5. 26. 16:09
이전 1 다음
이전 다음
공지사항

Blog is powered by Tistory / Designed by Tistory