AEM - ROBOTS.Txt file not showing content instead it's downloading
Hi Team,
Can you please help me with below issue.
We have created robots.txt file to deny access to crawlers on some paths but we are facing below issue.
Steps we followed:
1. Created robots.txt file in DAM path(/content/dam/folder)
2. Added relevant content as per business rules
3. Allowed robots.txt path by adding rules in filters& added rewrite rules in dispatcher and restarted apache server
4. When we hit url(https:host:port/robots.txt) it's downloaded instead of opening.
Thanks,
Swamulu