관리 메뉴

투덜이 개발자

Apache vhost 세팅중 403 Forbidden이 발생할 경우. 본문

카테고리 없음

Apache vhost 세팅중 403 Forbidden이 발생할 경우.

엠투 2023. 3. 27. 14:18
반응형

Apache vhost 세팅중 403 Forbidden이 발생할 경우.

서버쪽 vhost 내용에 보면
   <Directory "{소스 경로}">
        Options +FollowSymLinks -Indexes
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
이런 모양.
 
    <Directory "{소스 경로}">
        Options +FollowSymLinks -Indexes
        AllowOverride All
        <IfVersion < 2.4>
        Allow from all
        </IfVersion>
        <IfVersion >= 2.4>
        Require all granted
        </IfVersion>
    </Directory>
 
 

에러 이유는 apache 2.4 들어오면서 allow from 이 require granted 로 구문이 바뀌었음.

http://www.mins01.com/mh/tech/read/1560?lm=gallery 

 

공대여자 홈 : 기술 : apache vhost 세팅중 403 Forbidden이 발생할 경우.

읽기 : apache vhost 세팅중 403 Forbidden이 발생할 경우. #apache #403

www.mins01.com

 

반응형