Closed
Bug 607652
Opened 15 years ago
Closed 15 years ago
Replace robots.txt after svn up on master.support and support-stage
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jsocol, Assigned: fox2mike)
Details
Should be straight forward: after the svn update, we just need to replace the contents of robots.txt with
User-agent: *
Disallow: /
Something like:
echo -e "User-agent: *\nDisallow: /" > /path/to/robots.txt
should do it.
Comment 1•15 years ago
|
||
or just add a rewriterule to point to an alternate robots.txt that's in svn (robots-stage.txt or something)... that might be better future-wise.
| Reporter | ||
Comment 2•15 years ago
|
||
(In reply to comment #1)
> that might be better future-wise.
Very soon we won't be using svn anymore, and we'll need to figure out a new way to do robots.txt. Nothing is future-proof right now.
Comment 3•15 years ago
|
||
(In reply to comment #2)
> Very soon we won't be using svn anymore, and we'll need to figure out a new way
> to do robots.txt. Nothing is future-proof right now.
Why does the VCS matter? s/svn/whatever vcs you're using at the time/
same difference, no?
| Reporter | ||
Comment 4•15 years ago
|
||
Can we please just do this for now? We won't be able to serve a physical file at /robots.txt for much longer, and will have to handle that in the new app. In the meantime, this is really an easy thing to do.
| Assignee | ||
Comment 5•15 years ago
|
||
James,
robots.txt already has Disallow: / as the first directive on support-stage, I just added it on master too. I think that'll do.
http://master.support.mozilla.com/robots.txt
http://support-stage.mozilla.com/robots.txt
Assignee: server-ops → shyam
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•