Actions
Defect #2491
closedrobots.txt file is has incorrect urls
Defect #2491:
robots.txt file is has incorrect urls
Resolution:
Fixed
Affected version:
Description
My mongrel servers all crashed, I believe due to memory pressure from indexing robots. While looking into this I found that in Redmine 0.8 the public/robots.txt file has the following lines:
User-agent: *
Disallow: /projects/gantt
Disallow: /projects/calendar
Disallow: /repositories/diff
The gantt and calendar lines are invalid, however, and will not block robots. If you navigate to the calendar or gantt for a particular project the actual URLs are:
http://(host-name)/projects/(project-name)/issues/calendar
http://(host-name)/projects/(project-name)/issues/gantt
Since robots.txt does not support wild cards, perhaps the URLs should be modified to allow a stock robots.txt to work. Something more like repository URLs:
Actions