I'm basically trying to redirect every request on :443 to :443. I found this way to do that, which work pretty nicely, once the visitor discard the SSL alert (my certificate isn't valid for my IP, of course), he's redirected correctly:
<VirtualHost *:443>
SSLEngine off
ServerAdmin [email protected]
ServerName 11.11.11.11
Redirect Permanent / https://domain.eu/
</VirtualHost>
But I enabled IPv6 on my server today, so I'd like to redirect it too, but the problems begin here.
<VirtualHost *:443>
SSLEngine off
ServerAdmin [email protected]
ServerName [ff:ff:8:ff::1] //(with or without '[]')
Redirect Permanent / https://domain.eu/
</VirtualHost>
It simply won't work. I'm not sure if that's because of some missing support of IPv6 in the ServerName argument, but I'm kinda stuck.
Do you have any idea ? Thanks !