*.html 파일만 에러가 나옵니다 정보
*.html 파일만 에러가 나옵니다본문
홈페이지에서 php 파일과 htm 파일은 정상적으로 열립니다만(세번째 사진)
html 파일만 첫번째 사진 같은 메시지가 뜹니다.
error_log 파일에는 아래와 같은 메시지가 뜹니다.
Syntax error in type map, no ':' in /home/www/public_html/t.html for header <html>\n
httpd.conf에 아래와 같이 설정되어 있습니다.
<IfModule mime_module>
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .html .htm .php .php4
</IfModule>
오래 전 보안패치를 하면서 ./data/ 디렉토리에 .htaccess 파일을 만들었습니다.
덕분에 세녀석 다 두번째 사진 같은 메시지가 나옵니다만
이 문제와는 상관 없다고 생각합니다.
그렇다면..... 어디를 살펴봐야 합니까?
[참고]
테스트용 파일은 다음과 같은 내용입니다.
<html>
<title>Test</title>
<body>
It is just TEST!!!
</body>
</html>
html 파일만 첫번째 사진 같은 메시지가 뜹니다.
error_log 파일에는 아래와 같은 메시지가 뜹니다.
Syntax error in type map, no ':' in /home/www/public_html/t.html for header <html>\n
httpd.conf에 아래와 같이 설정되어 있습니다.
<IfModule mime_module>
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .html .htm .php .php4
</IfModule>
오래 전 보안패치를 하면서 ./data/ 디렉토리에 .htaccess 파일을 만들었습니다.
덕분에 세녀석 다 두번째 사진 같은 메시지가 나옵니다만
이 문제와는 상관 없다고 생각합니다.
그렇다면..... 어디를 살펴봐야 합니까?
[참고]
테스트용 파일은 다음과 같은 내용입니다.
<html>
<title>Test</title>
<body>
It is just TEST!!!
</body>
</html>
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '254084' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php


