You don't have permission to access / on this server.

 

첫째, 아파치 퍼미션 문제


해결책:

/home/유저명 이 유저명 디렉토리 권한을 chmod 711 유저명으로 하면 해결된다.

# chmod 711 aaa


둘째, SELinux 설정 문제

요   약:
SELinux is preventing the httpd from using potentially mislabeled files(/home/aaa/public_html/index.html)

해결책:

# restorecon -v '/home/aaa/public_html/index.html'
# restorecon -R -v '/home/aaa/public_html'

 

출처: http://youdw.egloos.com/171450

+ Recent posts