How to allow a robots.txt file to be visible on browser when accessed by url
How to allow a robots.txt file to be visible on browser when accessed by url
We are trying this on AEM as a cloud and in dispatcher we have already pasted the following config in dispatcher_vhost.conf but it still doesnt seem to work.
<Directory "/mnt/var/www/html/content/dam/sitefolder/">
<FilesMatch "\.(txt)$">
Header set Content-Disposition "inline"
Header set Cache-Control "max-age=86400, public"
Require all granted
</FilesMatch>
</Directory>
