You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two piholes set up, and exposed to the internet, and I'd like to use your script to keep them in sync.
But to get some extra security on both, I've password protected the whole /admin sub URL using lighttpds' basic authentication.
Would it be possible to have the additional authentication added to your script ?
The extra configuration required in lighttpd.conf is as follows.
You obviously also need to insert logon info into the .htpasswd file.
Hi,
I have two piholes set up, and exposed to the internet, and I'd like to use your script to keep them in sync.
But to get some extra security on both, I've password protected the whole /admin sub URL using lighttpds' basic authentication.
Would it be possible to have the additional authentication added to your script ?
The extra configuration required in lighttpd.conf is as follows.
You obviously also need to insert logon info into the .htpasswd file.
$HTTP["url"] =~ "^/admin/.(.*)" {
url.access-deny = ("")
}
auth.backend = "htpasswd"
auth.backend.htpasswd.userfile = "/etc/lighttpd/.htpasswd"
auth.require = ( "/admin/" =>
(
"method" => "basic",
"realm" => "cool access",
"require" => "valid-user",
)
)
thank you in advance
The text was updated successfully, but these errors were encountered: