arm보드상에 apache2 ssl 설정관련
크로스컴파일하여 보드상에서 아파치를 구동시키고있습니다.
크로스컴파일 옵션은
ac_cv_file_dbd_apr_dbd_mysql_c=no ac_cv_file__dev_zero=yes ac_cv_func_setpgrp_void=yes apr_cv_process_shared_works=no apr_cv_tcp_nodelay_with_cork=yes ap_cv_void_ptr_lt_long=no ac_cv_func_utimes=no LD=arm-linux-ld CC=arm-linux-gcc CFLAGS=-lpthread STRIP=arm-linux-strip OBJCOPY=arm-linux-objcopy RANLIB=arm-linux-ranlib ./configure --prefix=/usr/local/apache2 --target=arm-linux --build=i686 --host=arm-linux --with-included-apr --enable-so --enable-rewrite --with-ssl --enable-ssl
이렇게했구요..
포트80,443두개를 가상호스트로 열어놓고있습다.
https://xxx.xxx.xxx.xxx 는 접속이되어 'It works!'가 출력이되고있는데요,
문제는 xxx.xxx.xxx.xxx:80으로 접속을 시도하면 계속 웹브라우저는 Loading만하고있고요, 'It works'이 출력이 되지않고있습니다.
netstat -anp 시 established라고 3way로 연결이 된것은 표시가되는데 문제가 무엇일까요?
같은 옵션으로 크로스컴파일이아닌 그냥 컴파일하여 데스크탑에서 apache를 구동시켰을때는 80,443 모두 출력이되고
있는데말이죠.. 혹시 어딜 손봐야될지 아시는분 답변좀 부탁드리겠습니다.
아래는 conf세팅의 주요부분입니다.
//*******************conf/httpd.conf*******************
ServerRoot "/usr/local/apache2"
Listen 80
ServerName 192.168.42.30:80
DocumentRoot "usr/local/apache2/htdocs"
Include conf/extra/httpd-ssl.conf
//*******************conf/ex/httpd-ssl.conf*******************
Listen 443
DocumentRoot "/usr/local/apache2/htdocs"
ServerName 192.168.42.30:443


댓글 달기