Redirects outside of the main www.mozilla.org .htaccess file ignored after merge

RESOLVED WONTFIX

Status

www.mozilla.org
General
RESOLVED WONTFIX
7 years ago
4 years ago

People

(Reporter: David Boswell, Unassigned)

Tracking

(Blocks: 1 bug)

unspecified
3.10
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
Bug 682322 and bug 682619 both seem to be symptoms of a general issue with redirects outside of the main www.mozilla.org .htaccess file being ignored after the merge.  Opening a bug to track the overall issue.

The following is a list of all other .htaccess files to look at.  Note that some of these files, like /contribute/.htaccess, have no content in them.  Others could probably be archived instead of ported over.

If there was a way to get a list of the non-empty .htaccess files I'm happy to scan through them to see which are worth porting.  My grep'ing and find'ing skills are not advanced enough though to do that sort of sorting :)

./about/.htaccess
./access/.htaccess
./access/dhtml/.htaccess
./access/dhtml/2/.htaccess
./access/dhtml/namespaced/.htaccess
./access/dhtml/new/.htaccess
./access/keyboard/.htaccess
./access/samples/.htaccess
./contact/.htaccess
./contribute/.htaccess
./foundation/.htaccess
./hacking/.htaccess
./MPL/boilerplate-1.1/.htaccess
./ports/fizzilla/.htaccess
./projects/calendar/.htaccess
./projects/firefox/.htaccess
./projects/firefox/3.0a3/whatsnew/.htaccess
./projects/firefox/3.0a4/firstrun/.htaccess
./projects/firefox/3.0a4/whatsnew/.htaccess
./projects/firefox/3.0a5/firstrun/.htaccess
./projects/firefox/3.0a5/whatsnew/.htaccess
./projects/firefox/3.0a6/firstrun/.htaccess
./projects/firefox/3.0a6/whatsnew/.htaccess
./projects/firefox/3.0a7/firstrun/.htaccess
./projects/firefox/3.0a7/whatsnew/.htaccess
./projects/firefox/3.0a7pre/firstrun/.htaccess
./projects/firefox/3.0a7pre/releasenotes/.htaccess
./projects/firefox/3.0a8/firstrun/.htaccess
./projects/firefox/3.0a8/whatsnew/.htaccess
./projects/firefox/3.0a8pre/whatsnew/.htaccess
./projects/nspr/.htaccess
./projects/nspr/eng-process/.htaccess
./projects/nspr/tech-notes/.htaccess
./projects/security/.htaccess
./projects/security/certs/.htaccess
./projects/security/components/.htaccess
./projects/security/pki/nss/ca-certificates/.htaccess
./projects/thunderbird/.htaccess
./rhino/.htaccess
./security/.htaccess
./security/announce/.htaccess
./support/.htaccess
./thunderbird/.htaccess
./thunderbird/en-US/thunderbird/about/press/archive/.htaccess
./thunderbird/en-US/thunderbird/about/press/faq/.htaccess
./thunderbird/img/.htaccess
./thunderbird/includes/yui/.htaccess
./thunderbird/ja/.htaccess
./thunderbird/ja-JP-mac/.htaccess
./thunderbird/js/.htaccess
./thunderbird/js/old/.htaccess
./thunderbird/style/.htaccess
./thunderbird/tools/.htaccess

Comment 1

7 years ago
Try with:

find -type f -path "*.htaccess" ! -size 0
(Reporter)

Comment 2

7 years ago
Milos, thanks for the magic command.  It's a little more complicated than that though.  For instance, the /contribute/.htaccess file is not completely empty but doesn't have anything important in it to move over.  The contents are "Options +MultiViews".  Is it possible to exclude that in a search?

Comment 3

7 years ago
Hey David, try this one:

find -type f -path "*.htaccess" ! -size 0 -exec grep -Fxvl 'Options +MultiViews' {} \;

Comment 4

7 years ago
Hey David,

here's the full list: http://pastebin.mozilla.org/1317698
I looked through a lot of these in my research and most of them seemed to do nothing. There's a good chance I missed some real ones though.
There's a few redirects scattered throughout, yep. We can go through them slowly. I don't have time to sit down and go through them all (and this seems low priority as there's really only a few in there and they aren't important URLs).

Maybe we'll track the progress of it in this bug and keep it around in the milestones.
Target Milestone: --- → 3.10
(Reporter)

Comment 7

7 years ago
Going through these slowly make sense.  The more important ones will bubble up as specific concerns, like the Nightly First Run page.

Updated

7 years ago
Blocks: 676867
Depends on: 682619
Unassigning bugs from James that are not migration-related bedrock platform bugs. Let me know if you have any questions.

Updated

6 years ago
Assignee: jlong → nobody
(Assignee)

Updated

6 years ago
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org

Updated

5 years ago
Blocks: 879544
The legacy PHP site will be removed in the near future. Closing.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.