LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to Hide IPv6 address (https://www.linuxquestions.org/questions/linux-networking-3/how-to-hide-ipv6-address-904979/)

BernardLinux 09-25-2011 10:30 PM

How to Hide IPv6 address
 
Hello, i am configuring Apache on CentOS and what i want to do is to hide the ip address whenever the user inserts IP address to view my web. lets say my website ip addr is 172.16.40.86 and its domain name is example.com.

the thing is, when i input
Code:

http://172.16.40.86
the IP address will stay there and i want it to be hidden and tell apache to automatically change it
Code:

http://example.com

here, i used this lines
Code:

RewriteEngine On
    RewriteCond %{HTTP_HOST} ^172\.16\.40\.86

Now, the problem is, how can i do it for IPv6 address?
Please help. thanks

EricTRA 09-26-2011 12:33 AM

Hello,

Please don't double-post your question/problem. That will only confuse you and us on to where the conversation is taking place. Stick to one thread per question. Reported since it's a duplicate of this one.

Kind regards,

Eric

jschiwal 09-27-2011 12:40 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 10:41 AM.