IPV6 breaking lighttpd or php?

Hi everyone,

I just did a fresh install with ipv4 and ipv6 and it seems that have broken the web interface, all pages are downloading the .php files instead of loading on the browser.

Is ipv6 breaking lighttpd or php ? I'm saying that because other installations with only IPV4 runs perfect.

Expected Behaviour:

Load login.php on any browser

-Debian 12.5
-KVM

Actual Behaviour:

login.php is being downloaded on any browser

Debug Token:

https://tricorder.pi-hole.net/azwSzgkD/

#Network config
root@home-dns:/home/pihole# cat /etc/network/interfaces

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

The loopback network interface

auto lo
iface lo inet loopback

The primary network interface

allow-hotplug enp1s0
iface enp1s0 inet static
address 192.168.22.16
netmask 255.255.255.0
gateway 192.168.22.1
dns-domain home1
dns-nameservers 127.0.0.1

This is an autoconfigured IPv6 interface

iface enp1s0 inet6 static
address 2804:1B3:A5C8:9191::16
netmask 64
gateway 2804:1B3:A5C8:9191::1

UPDATE 2

Still working on it and performed the following steps and got some progress:

On current installation (Debian 12.5) I disabled IPv6 and the and issue persisted

Did a fresh install on a Ubuntu 22.04 with IPv4 and IPv6 and the issue only appeared on /admin/dns_records.php

All other links are working properly, below the debug of the Ubuntu installation:

https://tricorder.pi-hole.net/myL6QfGm/

UPDATE 3

With developer tools on my browser I got the following error when clicking on dns_records.php

The file at 'http://192.168.x.y/admin/dns_records.php' was loaded over an insecure connection. This file should be served over HTTPS. groups-domains.php:1

UPDATE 4

I not sure what caused it, the dns_records.php downloaded was in "cache", I just simply cleared the browser cache and it started working again :upside_down_face:

btw Edge, Chrome, Firefox and Brave all showed the same issue :upside_down_face:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.