File does not exist: /var/www/html/index.gif

1 개요[ | ]

File does not exist: /var/www/html/index.gif
  • 아파치 오류라고 나오지만 아파치 오류는 아님
  • 티스토리 글에 댓글을 달면서 홈페이지 주소를 등록했더니 발생함
[root@zetawiki ~]# grep index.gif /var/log/httpd/error_log | tail -3
[Thu Aug 20 02:31:11 2015] [error] [client 127.0.0.1] File does not exist: /var/www/html/index.gif, referer: http://snoopybox.co.kr/1747
[Thu Aug 20 02:31:11 2015] [error] [client 127.0.0.1] File does not exist: /var/www/html/index.gif, referer: http://snoopybox.co.kr/1747
[Thu Aug 20 02:31:40 2015] [error] [client 127.0.0.1] File does not exist: /var/www/html/index.gif, referer: http://snoopybox.co.kr/1747

2 원인[ | ]

  • 티스토리 댓글에 홈페이지 주소를 등록해두면, 블로거의 아이콘으로 사용하기 위해 index.gif를 조회하는 것
<div class="info">
  <span class="name"><img src="http://zetawiki.com/index.gif" alt="BlogIcon" width="16" height="16" onerror="this.parentNode.removeChild(this)" />
  <a href="http://zetawiki.com" onclick="return openLinkInNewWindow(this)">jmnote</a></span><br />
  <span class="date">2015/08/17 21:57</span>
</div>
  • 예를 들어 http://snoopybox.co.kr/index.gif 이런 그림을 찾는 것

 

  • 해결방법?
1) 문제없으니 그냥 두거나,
2) 0바이트 파일을 생성하거나,
3) 48x48 크기의 gif 파일을 넣어도 좋을 듯
[root@zetawiki ~]# cd /var/www/html
[root@zetawiki html]# touch index.gif
[root@zetawiki html]#

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}