comment가 나타나질 않아요 정보
comment가 나타나질 않아요본문
예전버전 0.4인가를 사용하고 있습니다.
그런데 언제부터인가 comment를 클릭하면 아래의 에러가 나오네요.
어떻게 하면 수정할 수 있을까요?
-----아래-----
Forbidden
You don't have permission to access /blog/comment.phpon this server.
Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.7a PHP/5.2.1 Server at www.yes.mn Port 80
댓글 전체
해결하였습니다.
프로그램 문제가 아니라 서버 아파치 설정 문제인가 봅니다.
혹시 비슷한 경우로 고생하는 분이 계실까보아 자답합니다.
httpd.conf에서 아래
SecFilterSelective REQUEST_METHOD "!^(GET|HEAD)$" chain 와
SecFilterSelective HTTP_Content-Type "!(^application/x-www-form-urlencoded$|^multipart/form-data;)" 를 주석처리하고 아파치 재시작을 하니 작동이 되었습니다.
<IfModule mod_security.c>
~
~
~
# Only accept request encodings we know how to handle
# we exclude GET requests from this because some (automated)
# clients supply "text/html" as Content-Type
#SecFilterSelective REQUEST_METHOD "!^(GET|HEAD)$" chain
#SecFilterSelective HTTP_Content-Type "!(^application/x-www-form-urlencoded$|^multipart/form-data;)"
프로그램 문제가 아니라 서버 아파치 설정 문제인가 봅니다.
혹시 비슷한 경우로 고생하는 분이 계실까보아 자답합니다.
httpd.conf에서 아래
SecFilterSelective REQUEST_METHOD "!^(GET|HEAD)$" chain 와
SecFilterSelective HTTP_Content-Type "!(^application/x-www-form-urlencoded$|^multipart/form-data;)" 를 주석처리하고 아파치 재시작을 하니 작동이 되었습니다.
<IfModule mod_security.c>
~
~
~
# Only accept request encodings we know how to handle
# we exclude GET requests from this because some (automated)
# clients supply "text/html" as Content-Type
#SecFilterSelective REQUEST_METHOD "!^(GET|HEAD)$" chain
#SecFilterSelective HTTP_Content-Type "!(^application/x-www-form-urlencoded$|^multipart/form-data;)"
거참 알수 없군요.. 며칠 지나고 나니 주석을 풀어도 되는군요