httpd.conf mit IP-Freigabe möglich?
2 months ago
Hallo,
der Passwort-Schutz mit Nutzer/Password über die httpd.conf funktioniert. Das passt.
Da wir eine feste IP-Adresse im Unternehmen nutzen, würde ich gern unsere Nutzer vom Login "befreien".
Laut Web-Recherche sollte es wie folgt funktionieren.
Im HomeOffice kann ich es aktuell nicht nachvollziehen.. Jemand eine Idee? Ist der Code so korrekt?
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_user_module modules/mod_authz_user.so
<Directory /home/www/public_html/portal>
AuthType Basic
AuthName "Passwort Bereich"
AuthUserFile /home/www/etc/passwortdatei.txt
<RequireAny>
Require valid-user
Require ip 91.123.123.123
</RequireAny>
</Directory>
Danke
Gruß Micha
46
0
3
This could help you too
4 years ago
265
0
2
58
0
3
6 years ago
909
0
7
Solved
803
0
2
You might also be interested in
Request purchasing advice
Fill out our online contact form quickly and easily so that we can advise you personally in a timely manner.
View offers
Informieren Sie sich über unsere aktuellen Website-Angebote.
2 months ago
Wenn ich das Modul
(laut https://httpd.apache.org/docs/2.4/mod/mod_authz_core.html#requireany ) einbinde:
erscheint im Browser dieser Fehler:
0
0
2 months ago
keiner eine idee?
0
1
Answer
from
2 months ago
Hallo @portal_verwalter,
ich gucke mir das mal an und melde mich, wenn ich eine Lösung für dich habe. Bitte habe ein wenig Geduld.
Viele Grüße
Christine Kn.
Unlogged in user
Answer
from
Unlogged in user
Ask
from