Tried the below mentioned setps in DNN to access a file of type ".file"
1. Created a virtual directory in DNN and placed the file "apple-developer-merchantid-domain-association" in the virtual directory folder ".well-known"
2. Now I tried accessing the file using the following URL: "https://[DomainName]/.well-known/apple-developer-merchantid-domain-association"
3. But that redirected to 404 Page not found page. DNN treats the file as a page name tries to find the page instead of file in the virtual directory.
Looking for a solution to access the file in DNN. Please let me know is there a way to access the file in DNN.
I would caution against using a virtual directory for all kinds of reasons. The main reason is that you'll effectively prevent anyone from having a truly working development/staging environment. Worst case, they'll have a lot of issues creating it, and it will most likely be created with a glaring security hole.
Also, DNN have a very useful and stable feature called "Folder Provider." This allows you to map folders of any kind in a way that makes the site portable for all kinds of staging and development scenarios.
https://dnnsupport.dnnsof...and-Folder-Providers
For more information about how files work in DNN, this blog could be helpful.
https://dnncommunity.org/...s-DNN-Store-My-Files
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.