Ubuntu 14.04.1 LTS 버전으로 업그레이드를 했더니 apache 버전이 달라져서 웹서비스에 오류가 발생했다.
브라우저에서는 permission denied 로 나오고, 에러로그에는 authz_core:error 가 발생했다.
원인은 mod_authz_core 모듈때문에 발생한것으로 apache 버전이 달라지면서 설정하는 문법도 달라져서 생긴 에러였다.
기존에
Order allow,deny
Allow from all
로 되어 있던 것을
Require all granted
로 바꾸고, 기존에
Order Deny,Allow
Deny from all
Allow from example.org
로 되어 있던 것을
Require host example.org
로 바꾸니 해결 되더라는…
참고로
Order deny,allow
Deny from all
로 되어 있는 것은
Require all denied
로 바꾸면 된다.
참고 : http://bloodguy.tistory.com/756
참고 : http://httpd.apache.org/docs/2.4/upgrading.html
我来看看,欢迎不欢迎?
What?