# Root # Review /etc/vhosts/webapp-config if necessary # Install with webapp-config -I pihole-admin-lte $VERSION # This is the path where index.php is # You can instead directly reference the installed files without using # webapp-config, but you must update the path on every update # DirectoryIndex index.php # Allow only local systems # Require ip 192.168.0.0/16 # Security related Header set X-Frame-Options DENY Header set X-Content-Type-Options nosniff Options -Indexes # Mitigate https://httpoxy.org/ vulnerabilities RequestHeader unset Proxy early # Root # Review /etc/vhosts/webapp-config if necessary # Install with webapp-config -I pihole-admin-lte $VERSION # This is the path where index.php is DocumentRoot "/var/www/localhost/htdocs/pihole-admin-lte" # You can instead directly reference the installed files without using # webapp-config, but you must update the path on every update # DocumentRoot /usr/share/webapps/pihole-admin-lte/5.9/htdocs # The app will be under http://server_name/admin # Comment out the following lines if you do not want this RewriteEngine On RewriteRule "^/admin(.*)$" "$1" [L] Redirect "/" "http://%{HTTP_HOST}/admin" # Mitigate https://httpoxy.org/ vulnerabilities RequestHeader unset Proxy early Require all denied Order allow,deny # Where to read the temperature from # /sys/class/hwmon/hwmon*/name content, such as k10temp SetEnv HWMON_NAME k10temp