Report this

What is the reason for this report?

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

Posted on August 18, 2021

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.



This textbox defaults to using Markdown to format your 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.