Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
My robots.txt file is added to content/dam and I have added rewrite rules for the same in my dispatcher. I have update the robots.txt path in Content Disposition under exclude path. Yet, the the robots file gets downloaded instead of showing in browser.
In disposition config: if i add entire path tille robots.txt, it fails to load on browser. If i add /content/dam*:text/plan, it works.
But the above will block all text type file. So i made change in dispatcher rewrite rule file:
<LocationMatch "/content/dam/site/robots.txt">
ForceType text/plain
Header set Content-Disposition inline
</LocationMatch>
Solucionado! Ir para a Solução.
Visualizações
respostas
Total de curtidas
The issue looks like more of browser cache. I followed the same and it works fine after clearing the cache.
Please clean browser cache or try in different browser.
Screenshot of configuration working fine for me.
The issue looks like more of browser cache. I followed the same and it works fine after clearing the cache.
Please clean browser cache or try in different browser.
Screenshot of configuration working fine for me.
Robots.txt, are you using https://adobe-consulting-services.github.io/acs-aem-commons/features/robots-txt/index.html or your own custom servlet?
we are not using custom servlet.
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas