Pi-Hole on Apache2

Hello.
I'm currently running pihole as a subdomain on my webserver along with pivpn to allow ad blocking no matter my location - My Pi-Hole Web Interface.

Everything was working perfectly, until I updated to the new version of Pihole, now all im getting is an 'index of'

Packages currently installed: php php-common php-gd php-mysql php-sqlite3 php8.3 php8.3-cli php8.3-common php8.3-gd php8.3-json php8.3-mysql php8.3-opcache php8.3-readline php8.3-sqlite3 libapache2-mod-php libapache2-mod-php8.3

Everything else is also up-to-date, package wise. The Pi-Hole works perfectly and blocks as it should. It's just the web interface.

Is there any other packages I might be missing since the new update?

The new web interface doesn't have PHP pages (it uses Lua code) and Apache2 won't be able to execute them. The new web interface uses an embedded web server into FTL and you don't need another web server.

If Apache2 is using port 80, the new Pi-hole web interface was configured to use port 8080.

Ok.. Thank you..
and there is no way to run this on apache2? (avid apache fan) How about nginx? Personally, I don't like lighttpd, but its sounding like the easy and fast way to fix my problems is to just spin up a new server just for pihole.

But honestly, I can do everything from CLI that I could from the pihole web interface. Blocking is currently working and I barely even use the interface. I can us pihole -t to make sure everything is working as it should.

Pi-hole v6 does not use lighttpd, and instead uses civetweb.

No.

Pi-hole uses its own web server now. It is embedded into pihole-FTL.

I don't know if Apache is capable of running pages written in Lua, but even if it can, I'm not sure how you will be able to make Apache run the code used to directly connect to pihole-FTL internal functions... so the answer is "No. Pi-hole web interface needs the internal web server".

Cool. I'm ignorant when it comes to civetweb. Time to get my learn on. Mod- You can close this topic. Thanks you to everyone who replied
:grin::grin:

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