Public assets require authentication

Hello,
I am trying to configure public assets without authentication according to this: https://osc.github.io/ood-documentation/latest/reference/files/ood-portal-yml.html?highlight=public#configure-public-assets
However, when the user tries to access files in the specified location, e.g. https://ood.mysite.com/public/logo.png, an authentication pop-up is displayed and the user has to authenticate himself.

Our ood_portal.yml configuration is:

---
servername: 'ood.mysite.com'

ssl:
  - 'SSLCertificateFile "/etc/pki/tls/certs/ood.mysite.com.crt"'
  - 'SSLCertificateKeyFile "/etc/pki/tls/private/ood.mysite.com.key"'
  - '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"

auth:
  - '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.