As the title suggests. I'm putting a temporary fix in place to handle IPv6 until cPanel finally gets around to supporting it. My current solution isn't working and is a general pain in the rear. It works fine for non-SSL vhosts, but SSL vhosts are causing issues. What I'd like to do is add, say, an ehip6 variable with the account's IPv6 address as the value. I say something like "ehip6" just because I know it won't interfere, in the future, with something cPanel throws in. I'm using .local vhost files, so that I can just delete them when the time comes for cPanel to support it.
What I'm not 100% on, is how to add such a line to the Userdata file in /var/cpane/userdata/[username]/[domain]. Can anyone break down the YAML::Syck command for me? I'd like to understand it a little better. Documentation suggests I can't just go an put a
line or something of the sort in there in case it accidentally damages the YAML format.
What I'm not 100% on, is how to add such a line to the Userdata file in /var/cpane/userdata/[username]/[domain]. Can anyone break down the YAML::Syck command for me? I'd like to understand it a little better. Documentation suggests I can't just go an put a
Code:
ehip6: 2607:5300:1:2:dead:beef:cafe:2