안녕하세요
apache 2.0.49 , gcc 3.4.6 , liviconv 1.13.1 , php 4.4.2 , perl 5.8.8 버전을 사용중입니다
apxs을 이용하여 mod_url.c을 컴파일 하게되면
/modules/mod_url.so 파일은 정상적으로 생성되는데 홈페이지에서는 한글 처리가 되지 않습니다
설치시 로그는 다음과 같습니다
.....
mod_url.c: In function `check_redurl_iconv':
mod_url.c:298: warning: passing arg 2 of `libiconv' from incompatible pointer type
.....
위의 2줄 때문에 정상적으로 설치가 되지 않는 것 같아서
liviconv 를 1.11로 설치해서 재설치해도 마찬가지 입니다
mod_url.c 298줄에는 다음과 같은 내용이 있습니다
c->ret = iconv (cfg->cd, &src, &flen, &to, &tlen);
수고하십시요