Views 15084 Votes 0 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
1. 아파치 환경 설정 파일의 편집
   $ vi /usr/local/apache/conf/http.conf
     #AllowOverride None
     #AllowOverride AuthConfig                # 일단 이렇게
     AllowOverride All                        # 안되면 이렇게

2. 암호를 걸고 싶은 디렉토리 내에다 암호파일을 생성
   $ /usr/local/apache/bin/htpasswd -c .htpasswd admin        # 암호파일 처음 생성시
     New password: admin123
     Re-type new password: admin123
   $ /usr/local/apache/bin/htpasswd .htpasswd root                # 암호파일에 두번째 사용자 추가시

3. 암호를 걸고 싶은 디렉토리 내에다 처리파일을 생성
   $ vi .htaccess
     AuthName "staff area”                 # 보호 디렉토리 대표이름
     AuthType Basic                        # 인증 방법
     AuthUserFile /usr/local/etc/httpd/.htpasswd                # 암호 파일 위치        
     require valid-user                        # 특정 사용자만 허용
   예)
   AuthName "사용자 인증..."
   AuthType Basic
   AuthUserFile /usr/local/apache/htdocs/User/Member/Administrator/.htpasswd
   AuthGroupFile  /dev/null                        # 사용자가 많을 경우의 그룹 관리(안함)
   <Limit GET POST>
   require valid-user
   </Limit>
   ErrorDocument 401 ./error.htm                  # 에러시의 출력 문서

?

  1. [mac] How to uninstall MySQL on Mac OS.

    Date2017.11.08 CategorySystem/OS Byhooni Views884
    Read More
  2. [mac] Mac OS 패키지 매니저, HomeBrew

    Date2015.01.03 CategorySystem/OS Byhooni Views1314
    Read More
  3. [mac] Mac OS에서 재생되는 사운드를 녹음하는 방법

    Date2016.10.03 CategorySystem/OS Byhooni Views1442
    Read More
  4. [mac] Mac에서 Mac으로 원격제어하기 (맥에서 맥으로)

    Date2013.10.08 CategorySystem/OS Byhooni Views36989
    Read More
  5. [mac] OS X 엘 캐피탄에서 Soudflower 사용하기

    Date2016.10.03 CategorySystem/OS Byhooni Views878
    Read More
  6. [mac] OS X 요세미티 사용자가 많이 겪는 버그와 몇몇 불편사항

    Date2015.01.04 CategorySystem/OS Byhooni Views1522
    Read More
  7. [mac] OSX(맥) 단축키 설명 ㅎㅎ

    Date2013.04.23 CategorySystem/OS Byhooni Views29565
    Read More
  8. [mac] SVN 1.8 업데이트 방법

    Date2013.09.24 CategorySystem/OS Byhooni Views14561
    Read More
  9. [mac] VirtualBox 실행 스크립트와 bash_profile 설정

    Date2020.07.08 CategorySystem/OS Byhooni Views955
    Read More
  10. [mac] 맥(OSX)에서 NTFS, 윈도우에서 HFS+ 사용하기

    Date2014.03.12 CategorySystem/OS Byhooni Views5117
    Read More
  11. [mac] 맥(OSX)에서 root 패스워드 설정하기

    Date2013.04.23 CategorySystem/OS Byhooni Views22418
    Read More
  12. [mac] 맥OSX에서 NTFS 쓰기 기능 활성화

    Date2014.03.12 CategorySystem/OS Byhooni Views4286
    Read More
  13. [mac] 맥에서 APM(apache,php,mysql) 구성하기

    Date2013.04.23 CategorySystem/OS Byhooni Views38616
    Read More
  14. [mac] 맥에서 기본 실행 앱 변경하기

    Date2018.03.02 CategorySystem/OS Byhooni Views1804
    Read More
  15. [mac] 맥에서 슬립(잠자기) 모드 진입을 막는 방법~

    Date2013.10.10 CategorySystem/OS Byhooni Views30880
    Read More
  16. [mac] 컨텍스트(Context) 메뉴 "다음으로 열기" 내용 정리

    Date2013.07.10 CategorySystem/OS Byhooni Views18797
    Read More
Board Pagination Prev 1 ... 7 8 9 10 11 13 Next
/ 13