Mandi! Marcin Haba
In chel di` si favelave...
> If you use LDAP authentication, all this Apache block with Basic auth can be
> removed. In this place you can write:
>
> # Apache 2.4
> <IfModule mod_authz_core.c>
> <Directory /usr/share/baculum/htdocs>
> Require all granted
> </Directory>
> </IfModule>
Bingo! It worked!
Can be written somewhhere, eg in documentation and/or in the apache
virtualhost file example?
I've written, for example:
# Apache 2.4
<IfModule mod_authz_core.c>
<Directory /usr/share/baculum/htdocs>
# Using 'HTTP Basic' authentication, comment for other
method.
#SetEnvIf Request_URI "^/web/redirect$" noauth=1
#<RequireAny>
# <RequireAll>
# <RequireAny>
# Require env noauth
# Require env REDIRECT_noauth
# </RequireAny>
# Require all granted
# </RequireAll>
# <RequireAll>
# AuthType Basic
# AuthName "Baculum Auth"
# AuthUserFile
/usr/share/baculum/htdocs/protected/Web/Config/baculum.users
# Require not env noauth
# Require not env REDIRECT_noauth
# Require valid-user
# </RequireAll>
#</RequireAny>
# Using 'Local user' or 'LDAP' authentication, comment
for 'HTTP Basic'.
Require all granted
</Directory>
</IfModule>
Thanks!
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users