Closed Bug 820850 Opened 13 years ago Closed 13 years ago

[mozillians] Change robots.txt on production.

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: giorgos, Assigned: cturra)

References

Details

(Whiteboard: [triaged 20121212][push interrupt])

Hello IT, Please change /robots.txt on mozillians.org production so that it points our repository's robots.txt
Blocks: 737099
:giorgos - this has actually been in place for some time now. RewriteRule ^/robots.txt$ /data/www/mozillians.org/mozillians/media/robots.txt
Assignee: server-ops-webops → cturra
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [triaged 20121212][push interrupt]
My bad, thanks for pointing that out.
Is this the same for dev and stage? If yes this is not the expected behavior as we want different robots.txt file for prod and different for dev and stage. Can you make prod to point to robots-prod.txt please? Thanks!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
:giorgos - where can i find robots-prod.txt? [root@genericadm.private.phx1 mozillians.org]# find mozillians -iname robots-prod.txt | wc -l 0
:cturra It's now in /media/ Thanks!
:giorgos - i have committed a change for dev and stage to serve the new robots-prod.txt. note: you will need to do a chief push for this new robots-prod.txt file to be available in stage. once you have tested everything looks as expected, let me know and i will do a push to prod for this change.
OK, I messed up the communications at some point, so let's try again: * Dev and Stage should point to /media/robots.txt * Prod should point to /media/robots-prod.txt Thanks and sorry for the trouble.
:giorgos - thnx for the clarification, it's entirely possible it was my overlooking versus your communication :) i have updated the rewrite rules to point dev/stage at /media/robots.txt and prod to /media/robots-prod.txt per your request above. this should all be ready for testing and looks good at first glance on my end. $ curl https://mozillians.org/robots.txt User-agent: * Disallow: $ curl https://mozillians.allizom.org/robots.txt User-agent: * Disallow: / $ curl https://mozillians-dev.allizom.org/robots.txt User-agent: * Disallow: /
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Verified, Thanks!
Status: RESOLVED → VERIFIED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.