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
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