logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: In ARM system, Apache2.4.6 http can't work when https is on
Author
iammmp



Joined: 11 Mar 2015
Posts: 1
Location: Cypress,CA, USA

PostPosted: Fri 13 Mar '15 3:48    Post subject: In ARM system, Apache2.4.6 http can't work when https is on Reply with quote

Apache2.4.6
apr-1.4.8
openssl-1.0.1c
arm-linux-gcc4.4.4

Recently I cross compiled Apache2.4.6 to run in my ARM cpu, and I found that http can work well if only it's own port such as 80 is listened, but if add one more port to be listened in conf file, http fails. That means http is good, but after https is on, http stop working and https is good.
At the same time, I built the same apache2.4.6 in X86 gcc4.6.1, http and https can both work well.
In addition, I also tried apache1.3.33 in the same ARM system, http and https can work well too.
It seems like that in apache2.4.6, http can't work well if there is one more port listened in ARM system. Actually http port is listening and is established when using netstat to monitor it.

root@freescale /usr/local/apache/bin$ netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 :::www :::* LISTEN
tcp 0 0 :::443 :::* LISTEN
tcp 0 0 (null):www (null):3705 ESTABLISHED
tcp 0 0 (null):443 (null):3720 ESTABLISHED

Hope someone here can give some help if you also met the similar problem. Thanks.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 16 Mar '15 12:56    Post subject: Reply with quote

You need two Listen Wink

Code:

Listen 80
Listen 443
Back to top


Reply to topic   Topic: In ARM system, Apache2.4.6 http can't work when https is on View previous topic :: View next topic
Post new topic   Forum Index -> Apache