[httpd]AddDefaultCharset이 바뀌니까 사이트가 안뜨네요
글쓴이: tripler / 작성시간: 목, 2005/01/06 - 12:11오후
현재까지 구동 시키던 사이트가
httpd.conf 환경파일에
AddDefaultCharset = EUC-KR 이였습니다.
그런데 FCKeditor이라는것이
UTF-8로만 돌아가더라구요 그래서 UTF-8로 변경을 했더니 기존 사이트가 안돌아 갑니다.
이럴떄 둘다 돌아가게 하려면 어떻게 해야 하나요?
현재 문자관련 세팅은 아래와 같습니다.
# # Specify a default charset for all pages sent out. This is # always a good idea and opens the door for future internationalisation # of your web site, should you ever want it. Specifying it as # a default does little harm; as the standard dictates that a page # is in iso-8859-1 (latin1) unless specified otherwise i.e. you # are merely stating the obvious. There are also some security # reasons in browsers, related to javascript and URL parsing # which encourage you to always set a default char set. # AddDefaultCharset euc-kr # # Commonly used filename extensions to character sets. You probably # want to avoid clashes with the language extensions, unless you # are good at carefully testing your setup after each change. # See http://www.iana.org/assignments/character-sets for the # official list of charset names and their respective RFCs. # AddCharset ISO-8859-1 .iso8859-1 .latin1 AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen AddCharset ISO-8859-3 .iso8859-3 .latin3 AddCharset ISO-8859-4 .iso8859-4 .latin4 AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk AddCharset ISO-2022-JP .iso2022-jp .jis AddCharset ISO-2022-KR .iso2022-kr .kis AddCharset ISO-2022-CN .iso2022-cn .cis AddCharset Big5 .Big5 .big5 # For russian, more than one charset is used (depends on client, mostly): AddCharset WINDOWS-1251 .cp-1251 .win-1251 AddCharset CP866 .cp866 AddCharset KOI8-r .koi8-r .koi8-ru AddCharset KOI8-ru .koi8-uk .ua AddCharset ISO-10646-UCS-2 .ucs2 AddCharset ISO-10646-UCS-4 .ucs4 AddCharset UTF-8 .utf8
Forums:
그냥 AddDefaultCharset 을 주지 않으셔도 좋을 것 같은데요
그냥 AddDefaultCharset 을 주지 않으셔도 좋을 것 같은데요;
----
블로그 / 위키 / 리눅스 스크린샷 갤러리
아..그런 방법이..ㅎㅎㅎ
감사합니다...
단순한걸 생각을 못했네요.ㅎㅎㅎ
감사합니다.
^^
댓글 달기