Last modified: 2014-11-03 16:32:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74868, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72868 - .htaccess in tarball causing problems
.htaccess in tarball causing problems
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.23.6
Other Linux
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-01 19:35 UTC by Isai Castro
Modified: 2014-11-03 16:32 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
That problem file.. (180 bytes, text/plain)
2014-11-03 13:00 UTC, Isai Castro
Details

Description Isai Castro 2014-11-01 19:35:44 UTC
Ever since MediaWiki 1.23.6, .htaccess was added (apparently) and .htaccess causes trouble! I installed MediaWiki 1.23.6 and wanted to edit my vector.css and it went to index.php and gave me a 403 error, I reinstalled resources, maintenance, and includes; it still 403ed and then I cut .htaccess and tried to edit something AND IT WORKED! I could edit again, but I decided to report this since developers could try to fix the problem for future MediaWiki releases if this is a software issue.
Comment 1 Andre Klapper 2014-11-01 21:43:51 UTC
Thanks for taking the time to report this!

https://releases.wikimedia.org/mediawiki/1.23/mediawiki-1.23.6.tar.gz does not include a file named .htaccess hence I am closing this report as INVALID.

If there are still issues to sort out you can receive support at https://www.mediawiki.org/wiki/Project:Support_desk
Comment 2 Isai Castro 2014-11-01 22:16:25 UTC
Ok
Comment 3 Andre Klapper 2014-11-01 23:20:30 UTC
FIXED implies that a code change has been committed to the code repository. That is not the case, hence changing the ticket resolution back to INVALID.
Comment 4 Bawolff (Brian Wolff) 2014-11-03 03:49:50 UTC
(In reply to Andre Klapper from comment #1)
> Thanks for taking the time to report this!
> 
> https://releases.wikimedia.org/mediawiki/1.23/mediawiki-1.23.6.tar.gz does
> not include a file named .htaccess hence I am closing this report as INVALID.
> 
> If there are still issues to sort out you can receive support at
> https://www.mediawiki.org/wiki/Project:Support_desk

That's actually incorrect. It has several (some are created by mediawiki automatically at certain times, like when the first file is deleted, but some would be in the tarball. Keep in mind most unix tools wont show them by default)

However i dont believe any would be in the root mw directory (and comment 0 suggests thats where it is in this bug). If there is one there it is probably from someone trying to do short url setup (and would indeed not be a mw bug).

Isai: which .htacess file was causing problems for you? (What is its path)
Comment 5 Andre Klapper 2014-11-03 06:35:01 UTC
bawolff: Ah, thanks for correcting me! Was only looking for top-level.
Comment 6 Isai Castro 2014-11-03 12:59:35 UTC
The .htaccess file was in the root directory of MediaWiki, I have a copy of it...
Comment 7 Isai Castro 2014-11-03 13:00:57 UTC
Created attachment 16999 [details]
That problem file..
Comment 8 Tisza Gergő 2014-11-03 14:32:00 UTC
This file should be in the images/ directory, not the root. Maybe it got copied accidentally?

Re: the spurious 403, that's probably a duplicate of bug 62289.
Comment 9 Bawolff (Brian Wolff) 2014-11-03 16:32:45 UTC
(In reply to Tisza Gergő from comment #8)
> This file should be in the images/ directory, not the root. Maybe it got
> copied accidentally?
> 
> Re: the spurious 403, that's probably a duplicate of bug 62289.

That bug is about a 500, so is different.

I suspect the issue is simply the .htaccess is in the root directory where it shouldn't be (File names aren't allowed to have colons in them, so the .htaccess blocking things with colons is probably "normal"). I'm going to re-close this bug as INVALID since its probably an accidental copying error as you said.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links