Closed Bug 683748 Opened 13 years ago Closed 10 years ago

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

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: davidwboswell, Unassigned)

References

(Blocks 1 open bug)

Details

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
Try with:

find -type f -path "*.htaccess" ! -size 0
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?
Hey David, try this one:

find -type f -path "*.htaccess" ! -size 0 -exec grep -Fxvl 'Options +MultiViews' {} \;
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
Going through these slowly make sense.  The more important ones will bubble up as specific concerns, like the Nightly First Run page.
Blocks: 676867
Depends on: 682619
Depends on: 730729
Unassigning bugs from James that are not migration-related bedrock platform bugs. Let me know if you have any questions.
Assignee: jlong → nobody
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
The legacy PHP site will be removed in the near future. Closing.
Status: NEW → RESOLVED
Closed: 10 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.