Q. [팁] Apache Directory 설정

안녕하세요 이지N비즈입니다.

 

Apache 설정 시 Directory 설정 내용 안내 드립니다.

해당 설정은 VirtualHost 절 안에 입력 하시면 해당 VirtualHost에만 적용 됩니다.^^

 

[모두 허용]

 

1. Directory 설정

 

<Directory "/home/webhome/">

    Options FollowSymLinks MultiViews

    AllowOverride AuthConfig

    Order deny,allow

    Allow from all

</Directory>

</VirtualHost>


[특정 IP만 허용]

 

1. Directory 설정

 

<Directory ""/home/webhome/">

    Options FollowSymLinks MultiViews

    AllowOverride AuthConfig

    Order deny,allow

    Deny from all

    Allow from <아이피 주소>

</Directory>


[암호 입력 성공시 허용]

 

1. 아이디 및 패스워드 생성

 

${APACHE_HOME}/bin/htpasswd -c ${APACHE_HOME}/passwd/password <아이디>

 

2. Directory 설정

 

<Directory "/home/webhome/">

    AuthType Basic

    AuthName "Restricted Files"

    AuthUserFile "${APACHE_HOME}/passwd/password"

    Require user <아이디>

</Directory>

 

 

감사합니다 좋은 하루 되세요.! 

< 목록으로

이지앤비즈 원격지원 프로그램 다운로드

X

이지앤비즈 원격지원

고객님의 PC에 원격접속하여 문제를 신속히 해결해 드립니다.

1

원격지원 클라이언트 프로그램을
다운로드 후 실행한다. (KPOST_QS.exe)

원격지원 다운로드 Windows용 클라이언트 Mac용 클라이언트

다운로드 후 실행이 안 되는 고객님은 고객센터 1577-9934로 문의주시기 바랍니다.

2

원격지원 클라이언트 프로그램을
다운로드 후 실행한다. (KPOST_QS.exe)

원격지원

TOP