RadarURL
Skip to content
조회 수 455 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

I first noticed some images not displaying on a web site that were correctly linked to. Looking at the error_log, I saw entries such as:

[Tue Jan 13 12:03:53 2009] [crit] [client XX.XXX.XXX.XX] (13)Permission denied: /var/www/vhosts/domainname.co.uk/httpdocs/site/articles/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://www.domainname.co.uk/file.php

This error message is pointless and more than misleading as I had no .htaccess file in the directory. Upon investigation saw that I had chmoded the folder to 644. Directories need to have the execute bit set so that we have the permissions to traverse the directory tree in order to access files.

To correct the error I set the folder to chmod 755 foldername, the images appeared again and the error message stopped appearing in the logs.


출처 : http://www.liamdelahunty.com/tips/apache_pcfg_openfile_unable_to_check_htaccess.php

?

PageViews   Today : 118 Yesterday : 16624 Total : 21708293  /  Counter Status   Today : 99 Yesterday : 943 Total : 1138680

Edited by JAESOO

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소