LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   About the apache for ipv6 configuration (https://www.linuxquestions.org/questions/linux-software-2/about-the-apache-for-ipv6-configuration-4175632452/)

sub320 06-22-2018 05:36 AM

About the apache for ipv6 configuration
 
I am running apache 2 on centos 7 which is running ipv4 , now I would like to enable it to support ipv6 , would advise what I need to change to Adding IPv6 support to the server ? or nothing need to do ?


the existing vhosts is as below .

<VirtualHost *:80>

"
"
</VirtualHost>

TB0ne 06-22-2018 09:12 AM

Quote:

Originally Posted by sub320 (Post 5870480)
I am running apache 2 on centos 7 which is running ipv4 , now I would like to enable it to support ipv6 , would advise what I need to change to Adding IPv6 support to the server ? or nothing need to do ? the existing vhosts is as below .
Code:

<VirtualHost *:80>

    ServerAdmin xxx.com.hk
    DocumentRoot "/data/webdocs"

    <Directory "/data/webdocs">
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
    Require all granted
  </Directory>

    ServerName www.xxx.com.hk
    ServerAlias xxx.com.hk
    ErrorLog "/data/weblogs/xxx_error.log"
"

  SetEnv hkepdev_CI_ENV "production"

        <IfModule mod_rewrite.c>
                RewriteEngine On
"
"

    </IfModule>
</VirtualHost>


We will **AGAIN** advise you to read the "Question Guidelines". You need to show your own efforts, and do basic research first, before posting. There are MANY guides on how to get IPv6 working with Apache. Feel free to look one up, and post back if you have actual questions or problems. But please stop asking people to look things up for you.

sub320 06-22-2018 06:47 PM

Quote:

Originally Posted by TB0ne (Post 5870560)
We will **AGAIN** advise you to read the "Question Guidelines". You need to show your own efforts, and do basic research first, before posting. There are MANY guides on how to get IPv6 working with Apache. Feel free to look one up, and post back if you have actual questions or problems. But please stop asking people to look things up for you.



thanks reply ,

just would like to know if I need to change for the below tag , does it to change ?

I have read the link http://d.hatena.ne.jp/sillywalk7/20120105/1326109565 , it seems the below tag support v6 , is it right ?

<VirtualHost *:80>

sub320 06-22-2018 07:02 PM

I have if I use a static ip , I need to follow the below method to change

https://serverfault.com/questions/33...work-with-ipv6

however , I use wildcard <VirtualHost *:80> , does it support ipv6 ?

thanks

scasey 06-22-2018 07:04 PM

Please read the Apache documentation about the VirtualHost directive to learn how it works...I’d have to do that to address your question, but that would be silly.

Another thing. To find out if something will work, just try it.


All times are GMT -5. The time now is 12:57 PM.