bmuller/mod_auth_openid

mod_auth_openid does not inherit configuration options

Closed this issue · 1 comments

I am not sure, but I think this is a regression in 0.5 over 0.4. In the following configuration:
<Directory /var/www/nomeata.de/openid-test>
AuthOpenIDDBLocation /var/lib/apache2/mod_auth_openid/mod_auth_openid.db
AuthOpenIDUserProgram /root/openid.sh

AuthOpenIDEnabled On


AuthOpenIDEnabled On
#AuthOpenIDLoginPage background.svg
AuthOpenIDTrusted ^http://www.xxx.*

AuthOpenIDUseCookie On

the AuthOpenIDDBLocation /var/lib/apache2/mod_auth_openid/mod_auth_openid.db setting does not have any effect. If I move it into one of the sections, it works for that section.

I would expect settings from the outer scope to still apply.

You can no longer set any options outside of Directory and Location sections. This is due to the restrictions set by the AuthConfig permission (all options are authentication configuration options and require the AllowOverride AuthConfig permission override for security purposes).