Question

Problem serving a folder with a dot prefix over the web: /.well-known/

  • Posted August 18, 2021
  • API

Hello,

I am having problems accessing this URL through a browser:https://cubscartel.oneagency.co/.well-known/apple-developer-merchantid-domain-associationI can see the folder is in the correct place on the server and if I remove the dot prefix, I can access the file, so I can see the problem is serving a folder with a dot prefix over the web.Where/how do I adjust the server config to allow this folder? Any pointers would be greatly appreciated.

With regards, Tim.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

There’s most likely some rule in one of your apache configuration files or the .htaccess denying access to dot files or directories.

The rules that could be stopping the access might look something like this:

<FilesMatch "^\.">

Or

<DirectoryMatch "^\.|\/\.">

Or

RewriteRule (^\.|/\.) - [F]

Feel free to share your Apache virtual host and .htaccess file here if you wish.

Regards, Bobby