그누보드에서 .htaccess 사용시 이미지 문제 정보
그누보드에서 .htaccess 사용시 이미지 문제본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://jnpcom.co.kr/
예전에 윈도우 서버에서 사용중이다 이번에 리눅스 서버로 이전을 했습니다.
그런데 data/안에 들어간 이미지들은 웹에서 호출이 안되고 있는데 문제인데요
.htaccess를 없애면 잘보이지만 이걸없애면 보안상문제가 있어서 없애지는 못하고 수정을해야하는데
너무 어렵더라구요 ㅠㅠ
.htaccess의 내용은
<FilesMatch "\.(htaccess|htpasswd|[Pp][Hh][Pp]|[Pp]?[Hh][Tt][Mm][Ll]?|[Ii][Nn][Cc]|[Cc][Gg][Ii]|[Pp][Ll])">
Order allow,deny
Deny from all
</FilesMatch>
<files ~ "^.*.( [Hh][Tt][Aa])">
order allow,deny
deny from all
satisfy all
</files>
입니다.
오류 주소 : http://jnpcom.co.kr/
예전에 윈도우 서버에서 사용중이다 이번에 리눅스 서버로 이전을 했습니다.
그런데 data/안에 들어간 이미지들은 웹에서 호출이 안되고 있는데 문제인데요
.htaccess를 없애면 잘보이지만 이걸없애면 보안상문제가 있어서 없애지는 못하고 수정을해야하는데
너무 어렵더라구요 ㅠㅠ
.htaccess의 내용은
<FilesMatch "\.(htaccess|htpasswd|[Pp][Hh][Pp]|[Pp]?[Hh][Tt][Mm][Ll]?|[Ii][Nn][Cc]|[Cc][Gg][Ii]|[Pp][Ll])">
Order allow,deny
Deny from all
</FilesMatch>
<files ~ "^.*.( [Hh][Tt][Aa])">
order allow,deny
deny from all
satisfy all
</files>
입니다.
( 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 = '240180' 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