Closed Bug 450682 Opened 12 years ago Closed 11 years ago
Bring back any archived .htaccess files
61.66 KB, text/plain
So far I've noticed that at least one .htaccess file was archived and some redirects on the live site were lost with it. Specifically a bug was filed to have http://www.mozilla.org/xpfe/xulref point to the current docs on MDC. This redirect was in place on www-archive.mozilla.org but had to be recreated on www.mozilla.org. Is there an easy way to search for archived .htaccess files? If I can get a list, I can copy those redirects over to the top-level .htaccess file.
I compared the archive site to the production site and found that the following .htaccess files had been deleted. I've copied the redirects from these and posted them in this attachment. Is there any reason not to add these 500+ redirects to the .htaccess file in the top-level directory? Having one massive .htaccess file might not be ideal, but it seems better than this situation where we're inadvertently deleting redirects scattered around the site. I'll commit these to the site soon if no one objects. Also, going forward as we archive things we should watch out for .htaccess files and move the contents over after archiving things. ./catalog/development/.htaccess ./catalog/development/website/.htaccess ./catalog/end-user/.htaccess ./docs/docshell/.htaccess ./docs/dom/.htaccess ./docs/dom/domref/.htaccess ./docs/dom/domref/images/.htaccess ./docs/dom/mozilla/.htaccess ./docs/dom/reference/.htaccess ./docs/dom/technote/.htaccess ./docs/xul/xulnotes/.htaccess ./newlayout/.htaccess ./newlayout/xml/.htaccess ./products/firebird/.htaccess ./projects/firebird/.htaccess ./projects/minimo/linux_minimo_picts/.htaccess ./projects/phoenix/.htaccess ./projects/search/.htaccess ./quality/.htaccess ./quality/browser/front-end/testcases/keyboard-nav/.htaccess ./quality/browser/standards/.htaccess ./quality/embed/.htaccess ./quality/help/.htaccess ./quality/installation/.htaccess ./quality/networking/docs/.htaccess ./xmlextras/.htaccess ./xpfe/.htaccess ./xpfe/xptoolkit/.htaccess ./xpfe/xulref/.htaccess
I just checked in this batch of redirects. I'll leave this bug open though in case any other .htaccess files get removed during the rest of the archive process.
Closing as fixed. AFAIK the contents of all archived .htaccess files have been brought back. If we missed any or if any accidentally get archived going forward, feel free to reopen this.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.