Fairly self explanatory. Then personal files served can be located in one’s home directory.
Pi-hole uses Civetweb as the web server.
Civetweb is embeded into pihole-FTL, but the changes to the code should be requested to Civetweb devlopers, here:
Thanks for the reply. CivetWeb has a uri_rewrite_patterns parameter that would do what I want, but the CivetWeb package is not installed and pihole.toml does not mention this option. Can it be used, and if so does this setting go in the webserver section of the latter file?
Civetweb is embedded in pihole-FTL. There is no external package.
Pi-hole web server is intended to serve only Pi-hole web interface. For this reason, just a few options are actually needed.
pihole.toml only contains options related to Pi-hole. For security reasons, Pi-hole doesn't expose every civetweb options. Some are restricted or blocked on purpose.
You can try to use the webserver.advancedOpts option, but I can't guarantee it will work:
I believe your needs would be better met if you use a different web server.
