1.httpd log확인(/var/log/httpd/error.log)
# tail -f /var/log/httpd/error.log ~ ~ ~ [Wed Jan 21 12:58:44 2015] [error] [client x.x.x.x] (13)Permission denied: access to /wp-admin/install.php denied |
* 퍼미션 거부 로그가 남아있다면 아래와 같이 조치한다.
2. 권한조정
# chcon -R -h -t httpd_sys_content_t /home/www |
* /home/www는 원하는 폴더(http 루트폴더 등)를 지정하면 된다.
'시스템(리눅스)' 카테고리의 다른 글
두개의 NIC 두개의 Default Gateway (CentOS 5) (0) | 2015.05.12 |
---|---|
VSFTPD에서 chroot 기능 사용시 접속 불가 현상 (0) | 2015.01.29 |
CentOS5 php 업그레이드 (0) | 2015.01.21 |
우분투 가상 NIC 설정 (0) | 2015.01.15 |
우분투 14.04 network restart (0) | 2014.11.27 |