Thanks for your answer Arun Patidar. At this point I don't really want
to switch the whole interface to a sling filter so I will just map to
.xml and rewrite from .txt to .xml in apache. Thanks for your help
I am trying to create a servlet to serve a robots.txt. The servlet to
handle this request is mapped on the website page resource and looks
like this:When I visit the page like this "/content/website.robots.txt"
I am presented with an 404 error and the get of the servlet is never
called. When I change "sling.servlet.extensions" to xml and visit
"/content/website.robots.xml" the get gets called and the servlet
works.I am using AEM 6.2 with OSGI 6.0.0Is it impossible to map to .txt
as extension or ...
I have a composite component consisting of three included components an
image a title and a text component. Normally since the title component
inherits the `wcm/foundation/components/title` the data-sly-resource
included component gets the title type option (h1,h2...) from it's
parent. However for this specific composite component I want to limit
the type option to just have h2 available. The Title component is
included in the composite component like this: This allows the
content editor to edit...