Apache1.3 und Autentifikation
Posted: 2003-03-28 13:05
Hallo, kann ich in einer .htaccess angeben das die Hosts, die keinen Zugriff erhalten sollen, aus einem DBM File gelesen werden ?
Resources for System-Administrators
https://www.rootforum.org/forum/
Das weiss ich aber ich habe ein Modul was denied Hosts in eine DBM Datei schreibt und die will ich Blocken lassen...Freeze wrote:Du kannst die erlaubten Benutzer/Gruppen in einer DBM ablegen: http://httpd.apache.org/docs/mod/mod_auth_dbm.html
Und an der StellePerlAccessHandler
The access_checker phase is the first of three handlers that are involved in what's known as AAA: Authentication and Authorization, and Access control.
This phase can be used to restrict access from a certain IP address, time of the day or any other rule not connected to the user's identity.
This phase is of type RUN_ALL.
The handler's configuration scope is DIR.
The concept behind access checker handler is very simple, return Apache::FORBIDDEN if the access is not allowed, otherwise return Apache::OK.
The following example handler denies requests made from IPs on the blacklist.[...]
Code: Select all
my %bad_ips = map {$_ => 1} qw(127.0.0.1 10.0.0.4);