Public assets require authentication

I am trying to configure public assets without authentication according to this:
However, when the user tries to access files in the specified location, e.g., an authentication pop-up is displayed and the user has to authenticate himself.

Our ood_portal.yml configuration is:

servername: ''

  - 'SSLCertificateFile "/etc/pki/tls/certs/"'
  - 'SSLCertificateKeyFile "/etc/pki/tls/private/"'
  - 'SSLCertificateChainFile "/etc/pki/tls/certs/ca-chain.crt"'

lua_log_level: 'debug'

user_map_cmd: "/opt/ood/ood_auth_map/bin/ood_auth_map.mapfile --file /etc/grid-security/grid-mapfile"

  - 'AuthType Basic'
  - 'AuthName "private"'
  - 'AuthBasicProvider ldap'
  - 'Require valid-user'

host_regex: 'cnode\w+'
node_uri: '/node'
rnode_uri: '/rnode'

public_uri: "/public"
public_root: "/var/www/ood/public"

Do you have any idea what the problem might be?
Thanks for your help.

Hello, and welcome!

As a sanity check - what are the permissions for your public_root directory?

Permission for public_root directory are 755:

drwxr-xr-x 4 admin admin 116 Jun  3 16:09 public

Do you have any other Apache config elsewhere on the system? Possibly the system you’re on comes with default Apache configs that are overriding what you’re expecting - that’s happened before on some systems. It’s hard to think how this might happen other than there being a directive somewhere else.