LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-22-2018, 05:36 AM   #1
sub320
Member
 
Registered: Jan 2016
Posts: 116

Rep: Reputation: 3
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>

Last edited by sub320; 06-22-2018 at 06:45 PM.
 
Old 06-22-2018, 09:12 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,700

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by sub320 View Post
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.
 
Old 06-22-2018, 06:47 PM   #3
sub320
Member
 
Registered: Jan 2016
Posts: 116

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by TB0ne View Post
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>
 
Old 06-22-2018, 07:02 PM   #4
sub320
Member
 
Registered: Jan 2016
Posts: 116

Original Poster
Rep: Reputation: 3
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
 
Old 06-22-2018, 07:04 PM   #5
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
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.

Last edited by scasey; 06-22-2018 at 07:06 PM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change of configuration for ipv6 sub320 Linux - Server 2 06-21-2018 07:04 AM
IPv6 only configuration ruben.romartinez Red Hat 3 04-25-2013 06:04 AM
ipv6 configuration s_hcl Red Hat 13 03-30-2012 12:41 AM
LXer: Linux Apache Dual Stacked IPv4 and IPv6 Configuration LXer Syndicated Linux News 0 08-29-2009 04:50 PM
IPv6 configuration hermiod Linux - Networking 0 06-19-2008 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration