PHPMyAdmin not working on IPv6

Seems like a problem on your side. How do you check the way you are connecting to the server?

Code:
2a02:1810:1e20:6d00:88bf:2364:ae23:41a7 - - [30/Aug/2022:13:21:01 +0200] "POST /phpMyAdmin/index.php?route=/config/get HTTP/2.0" 200 2021 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0"
2a02:1810:1e20:6d00:88bf:2364:ae23:41a7 - - [30/Aug/2022:13:21:01 +0200] "POST /phpMyAdmin/index.php?route=/navigation&ajax_request=1 HTTP/2.0" 200 4393 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0"
2a02:1810:1e20:6d00:88bf:2364:ae23:41a7 - - [30/Aug/2022:13:21:01 +0200] "POST /phpMyAdmin/index.php?route=/config/get HTTP/2.0" 200 2114 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0"
2a02:1810:1e20:6d00:88bf:2364:ae23:41a7 - - [30/Aug/2022:13:21:01 +0200] "POST /phpMyAdmin/index.php?route=/version-check HTTP/2.0" 200 642 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0"
2a02:1810:1e20:6d00:88bf:2364:ae23:41a7 - - [30/Aug/2022:13:21:01 +0200] "POST /phpMyAdmin/index.php?route=/config/set HTTP/2.0" 200 2013 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0"
 
I noticed since I finaly got IPv6 working at home, and I could not connect to phpmyadmin, when I remove the ipv6 record for my hostname it works again.

I think this happens:
- When I connect over ipv4, it works because that's the main IP and uses the default vhost (/var/www/html)
- When I connect over ipv6, it uses the shared-ip vhost instead of the default one that points to /var/www/html? There was a similar issue with roundcube ages ago.
 
I suspect a configuration error is more likely.. Have had ipv6 for ages here and never had a problem. Did you link your ipv6 address to the ipv4 address in DA?
 
Yeah it sounds like it.
When i try:
- [IPv6]/phpmyadmin => works
- hostname/phpmyadmin: 404
- hostname_with_no_aaaa/phpmyadmin: works

Its a pretty bizarre situation.

some more testing:
seems that /phpmyadmin works, but the default /phpMyAdmin (to wich DA sends you, note the capitalization) does not. @fln seems like a bug of some kind?
 
ok so I did some digging
and turns out it sure is because it's using the shared ip vhost for the IPv6
I have it linked up to the IPv4 though.

I added a few redirects in the sharedip folder and it works now.
Roundcube had the same issue.
 
Back
Top