IPv6 httpd config vhost - BSD

This is a discussion on IPv6 httpd config vhost - BSD ; I recently upgrade to 4.4 and want my web server to be ipv6 aware since it's now possible. Here is parts of my httpd.conf : Listen 2001:6f8:37c:1001::1 80 Listen 0.0.0.0 80 Listen 0.0.0.0 443 .... # Ipv4 sites NameVirtualHost 0.0.0.0:80 ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: IPv6 httpd config vhost

  1. IPv6 httpd config vhost

    I recently upgrade to 4.4 and want my web server to be ipv6 aware since
    it's now possible. Here is parts of my httpd.conf :


    Listen 2001:6f8:37c:1001::1 80
    Listen 0.0.0.0 80
    Listen 0.0.0.0 443


    ....

    # Ipv4 sites
    NameVirtualHost 0.0.0.0:80

    # some ipv4 vhosts


    ....

    # SSL sites
    NameVirtualHost 0.0.0.0:443



    ....

    # Ipv6 hosts
    NameVirtualHost 2001:6f8:37c:1001::1 80




    But this don't work as expected. I have the following error when
    reloading apache :
    # httpd -DSSL
    [Wed Nov 5 23:41:29 2008] [error] Cannot resolve host
    2001:6f8:37c:1001::1 port 80 --- ignoring!
    [Wed Nov 5 23:41:29 2008] [error] Cannot resolve host
    2001:6f8:37c:1001::1 port 80 --- ignoring!

    And when I try to surf to my ipv6 address, I reach the default ipv4 vhost.

    Something wrong in my conf ?


    --
    Raphael Mazelier

  2. Re: IPv6 httpd config vhost

    On 2008-11-05, Raphael Mazelier wrote:
    > I recently upgrade to 4.4 and want my web server to be ipv6 aware since
    > it's now possible.
    > ...
    > But this don't work as expected. I have the following error when
    > reloading apache :
    > # httpd -DSSL


    Try:

    # httpd -DSSL -U

    Regards
    d-ra

  3. Re: IPv6 httpd config vhost

    Raphael Mazelier wrote:

    > I recently upgrade to 4.4 and want my web server to be ipv6 aware since
    > it's now possible. Here is parts of my httpd.conf :
    >
    >
    > Listen 2001:6f8:37c:1001::1 80


    Listen [2001:6f8:37c:1001::1]:80

    [...]
    > # Ipv6 hosts
    > NameVirtualHost 2001:6f8:37c:1001::1 80


    NameVirtualHost [2001:6f8:37c:1001::1]:80

    Helmut

    --
    No Swen today, my love has gone away
    My mailbox stands for lorn, a symbol of the dawn

  4. Re: IPv6 httpd config vhost

    Helmut Schneider a écrit :
    > Raphael Mazelier wrote:
    >
    >
    > Listen [2001:6f8:37c:1001::1]:80
    >
    > [...]
    >
    > NameVirtualHost [2001:6f8:37c:1001::1]:80
    >
    > Helmut
    >


    Same error.

    --
    Raphael Mazelier

  5. Re: IPv6 httpd config vhost

    d-ra a écrit :
    >
    > Try:
    >
    > # httpd -DSSL -U
    >
    > Regards
    > d-ra


    Thks it works well now.

    --
    Raphael Mazelier

  6. [OT] Re: IPv6 httpd config vhost

    Off topic: Wantet to answer the mail you send me to usenet@d-ra.ath.cx


    ----- The following addresses had permanent fatal errors -----

    (reason: 554 5.7.1 DNS Blacklisted by zen.spamhaus.org)


    Is it really cleaver to use a dyndns domain on a dialin line and
    blocking other dialin hosts from delivering mail to you?

    Maybe you want to use sbl-xbl.spamhaus.org ?

    Regards
    d-ra

+ Reply to Thread