When using phpMyAdmin from on IPv4 client address everything works fine. My Apache access logs in apache show these lines that I picked as an example.
But when I use an IPv6 client address then the Apache access logs shows these lines.
As you can see the request for jquery.min.js is double, and the second one fails with a 404. The nginx_static_files path makes it look like this request should be handled by Nginx but gets forwarded to Apache for some reason. This makes phpMyAdmin fail because the js file is not loaded. It looks like all js and css files are not loaded. Thay all show 404 errors.
What is going on here?
Code:
91.xx.xx.xx - - [31/Oct/2024:16:43:13 +0100] "GET /phpMyAdmin/ HTTP/1.0" 200 19406 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
91.xx.xx.xx - - [31/Oct/2024:16:43:13 +0100] "GET /phpMyAdmin/js/vendor/jquery/jquery.min.js?v=5.2.1 HTTP/1.0" 200 848 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
But when I use an IPv6 client address then the Apache access logs shows these lines.
Code:
2a01:xx:xx:xx::xx - - [31/Oct/2024:16:42:49 +0100] "GET /phpMyAdmin/ HTTP/1.0" 200 23098 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
2a01:xx:xx:xx::xx - - [31/Oct/2024:16:42:49 +0100] "GET /phpMyAdmin/js/vendor/jquery/jquery.min.js?v=5.2.1 HTTP/1.0" 200 4551 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Saf>
2a01:xx:xx:xx::xx - - [31/Oct/2024:16:42:49 +0100] "GET /phpMyAdmin/nginx_static_files/phpMyAdmin/js/vendor/jquery/jquery.min.js HTTP/1.0" 404 4723 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko>
As you can see the request for jquery.min.js is double, and the second one fails with a 404. The nginx_static_files path makes it look like this request should be handled by Nginx but gets forwarded to Apache for some reason. This makes phpMyAdmin fail because the js file is not loaded. It looks like all js and css files are not loaded. Thay all show 404 errors.
What is going on here?