Last modified: 2013-09-04 11:25:28 UTC
http:// link that point to git, get a 404. Would it be worthwhile writing a rewrite in the apache config files that move the urls to https:// ? Unthinkingly, and through habit, I made the mistake of making the link protocol neutral. I can see that it would be useful to help workaround for others making that mistake.
Huh? Example? http://git.wikimedia.org/ redirects to https://git.wikimedia.org/ for me.
It was a deeper link [//git.wikimedia.org/blob/mediawiki%2Fextensions%2FProofreadPage/e7233e3ba511bd859f16d36e84accb3342d858d9/ProofreadPage.body.php git] so http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FProofreadPage/e7233e3ba511bd859f16d36e84accb3342d858d9/ProofreadPage.body.php
Worksforme...
Well, I get <paste> Not Found The requested URL /blob/mediawiki/extensions/ProofreadPage/e7233e3ba511bd859f16d36e84accb3342d858d9/ProofreadPage.body.php was not found on this server. </paste> It was pointed out to me <quote> (ps your link is 404 error) </quote> at https://en.wikisource.org/w/index.php?title=Wikisource:Requests_for_comment/Annotations_and_derivative_works&oldid=4467510 so it is not only me that has the issue.
Hmm, those /'s in the repo name (or file path) should be encoded as %2F :\
Are you meaning http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FProofreadPage%2Fe7233e3ba511bd859f16d36e84accb3342d858d9%2FProofreadPage.body.php If so, that fails too. <shrug>
No, not that. This: https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FProofreadPage/e7233e3ba511bd859f16d36e84accb3342d858d9/ProofreadPage.body.php
*** Bug 49827 has been marked as a duplicate of this bug. ***
Is there still the problem with 404 errors? I just tried the link on Wikisource (HTTP and HTTPS versions) with IE8/WinXP, Firefox 3.0.3/WinXP, Opera 10/WinXP, Opera 12.16/Ubuntu Lucid, Firefox 20/Ubuntu Lucid and I never experienced a 404 error (neither another error). What browsers did you have? The Apache config of git.wikimedia.org didn’t really change since the beginning (see operations/puppet/templates/apache/sites/git.wikimedia.org). I thought also about an encoding bug in MediaWiki; I tried with the MediaWiki version which was on Wikisource then (1.22/wmf5) but the HTML really gives slashes encoded as %2F and didn’t experienced the error (with Opera 12.16/Ubuntu Lucid). I stop here the investigation about 404 error, unless there is still the problem. (the 404 error is a different bug than the bug title "rewrite http -> https".)