[과정]
학과 서버를 12.04LTS server에서 14.04LTS server로 업그레이드를 했다.
[문제]
웹서버로 접근하면 다음과 같은 문제가 발생했다.
You don’t have permission to access
[해법]
1. 웹서버 디렉토리를 다음과 같이 바꾸었다. –> 문제해결에 도움이 안 됨
[shell]chgrp -R www-data 홈페이지디렉토리[/shell]
2. 홈페이지 옵션을 Order allow, deny에서 Require all granted 로 바꾸었다.
[shell]Apache 2.2 configuration:
Order allow,deny
Allow from all
Apache 2.4 configuration:
Require all granted[/shell]
[출처]
0. http://httpd.apache.org/docs/2.4/upgrading.html
1. http://stackoverflow.com/questions/23001646/you-dont-have-permission-to-access-on-this-server-aws-ec2-ubuntu-laravel-pr
2. http://stackoverflow.com/questions/18239226/apache-error-forbidden-you-dont-have-permission-to-access-on-this-server