You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mike Loiterman <mi...@ascendency.net> on 2003/02/13 22:57:18 UTC
[users@httpd] Apache2 ipv4/ipv6 confusion (Apache installed correctly, but not working)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday, February 13, 2003 3:55 PM Mike Loiterman <ma...@ascendency.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday, February 13, 2003 1:26 AM David Turner
> <ma...@i3networks.com> wrote:
>
>> Hi Mike,
>>
>> My name is David. I saw your post on the Apache mailing list
>> regarding apache not running on FreeBSD 5. I was searching the list
>> for exactly the same problem. I had just installed FreeBSD 5 and
>> then installed Apache 2 from the ports collection. I started up
>> Apache using apachectl start and apache appeared to start up and run
>> fine.
>>
>> Then I tried to open the page with my browser and received "The page
>> cannot be displayed" error. Next I port scanned my server and noticed
>> that port 80 was not open even though apache was running. That's when
>> I searched the mailing lists. Your post was the only one I found
>> relating to the topic.
>>
>> Anyway I did manage to get apache to run by downloading the latest
>> source and compiled it in my home directory for testing and so it
>> wouldn't write over what was already installed. I did a basic
>> install like this:
>>
>>> ./configure prefix =/usr/home/(myhomedirectory)/apache2 make
>>> make install
>>
>>> cd /usr/home/(myhomedirectory)/apache2/bin
>>> ./apachectl start
>>
>> To fix apache that was installed with the ports, I just copied my
>> httpd binary like this:
>>
>>> cd /usr/local/sbin
>>> cp ~/apache2/bin/httpd .
>>
>> Please let me know if you found another solution. I am curious as to
>> what is wrong.
>
>
> Actually the problem is a known, but little publicized snafu with
> Apache2 and FreeBSD 5, although it might just be an Apache2 problem.
> Someone on the freebsd-questions list pointed me in the right
> direction and I did a google for the rest. The solution was to add
> this to your http.conf file:
>
> Listen 0.0.0.0:80
> Listen [::]:80
>
> According to the person who pointed me in the right direction,
> Apache2 is set to listen on the ipv6 adddress and not the standard
> ipv4 addresses. I don't know why this is or how to change this
> setting so that it listens on ipv4, but sticking the two lines above
> will fix it perfectly, so that it listens on both. I posted this
> question numerous times to the Apache mailing list and I don't think
> I got a single answer. It appears that this is an obscure problem or
> that not to many people know the solution. I'm posting to the Apache
> mailing list in the hopes that it helps someone else out as well.
> Good luck with the rest of your config!
- -------------------------------------------
Randomly Generated Quote:
He who hates vices hates mankind.
Mike Loiterman
PGP Key 0xD1B9D18E
http://www.ascendency.net
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0
Comment: This message has been digitally signed by Mike Loiterman
iQA/AwUBPkwUvWjZbUnRudGOEQK6hgCgvpL5Dpe7E1RDKYwaJNxM5eEJkkYAn2DX
qI/wyEReWqOIySPPaRgLEKxe
=boF6
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org