시스템(리눅스)2015. 1. 21. 13:21

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 루트폴더 등)를 지정하면 된다.

Posted by 캡슐리어