Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

\/.well-known/security.txt giving 404 error

Avatar

Level 4

Hi Team,

 

I have a requirement to enable the /.well-known/security.txt for all of my domains, I did added filter rules and rewrite rules for the same but it is blocking at dispatcher end.

 

/0002 { /type "allow" /method "GET" /url '/.well-known/security.txt' }

 

RewriteRule /.well-known/security.txt$  /content/Project-name/.well-known/security.txt

Can you suggest the approach to enable it. 

 

Thanks in advance.

 

Thanks and Regards,

Ashwini

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 4

@arunpatidar Thanks for the information. 

 

This issue is resolved by rearranging the filter rule in filter.any file.

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @AshwiniSathe1 

You can follow the same guideline as robots.txt

https://medium.com/@veena.vikraman19/aem-gyaan-time-a-guide-to-configuring-robots-txt-for-aem-as-a-c...

 

You don't need to create a path with ., you can create file with well-know e.g. 

/content/Project-name/well-known/security.txt

 and map it using rewrite rule

RewriteRule ^/.well-known/security.txt$  /content/Project-name/well-known/security.txt
Arun Patidar

AEM LinksLinkedIn

Avatar

Correct answer by
Level 4

@arunpatidar Thanks for the information. 

 

This issue is resolved by rearranging the filter rule in filter.any file.