Last modified: 2012-06-12 12:36:28 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 T39034, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37034 - thumb URL gives a 403 forbidden
thumb URL gives a 403 forbidden
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: High major
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks: 37080
  Show dependency treegraph
 
Reported: 2012-05-23 02:26 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-06-12 12:36 UTC (History)
6 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2012-05-23 02:26:26 UTC
Requesting a thumbs give us a 403 Forbidden error:

http://upload.beta.wmflabs.org/wikipedia/commons/thumb/2/2a/Kiril_Lazarov_06.jpg/600px-Kiril_Lazarov_06.jpg

Please note currently upload.beta.wmflabs.org points to the deployment-squid instance which in turn hits the text Apaches boxes.

There is most probably an Apache configuration mistake for the upload virtual host.
Comment 1 Peter Bena 2012-05-23 11:22:13 UTC
most of apaches return 403 for unknown reason
Comment 2 Antoine "hashar" Musso (WMF) 2012-05-23 13:20:55 UTC
(In reply to comment #1)
> most of apaches return 403 for unknown reason

What do you mean?
Comment 3 Platonides 2012-05-23 20:18:58 UTC
(In reply to comment #0)
> There is most probably an Apache configuration mistake for the upload virtual
> host.

You mean these lines?
# upload.wikimedia.org
# DISABLED as this is now done on albert 2005-02-26 --brion
#Include /usr/local/apache/conf/upload.conf

https://gerrit.wikimedia.org/r/8710
Comment 4 Antoine "hashar" Musso (WMF) 2012-05-24 05:42:57 UTC
Nop Platonides, it is not going to change anything. That line was commented out in 2005 because the upload hosts was moved to a dedicated machine serving files off lighttpd IIRC.

The 403 must be because of some wrong path in apache configuration or that simply the directory and files do not exist.
Comment 5 Antoine "hashar" Musso (WMF) 2012-05-24 13:10:19 UTC
I made a few changes around (can't remember which). Seems like thumbs might be working again.

http://en.wikipedia.beta.wmflabs.org/wiki/File_talk:Polar_bear.jpeg

Should give you a thumb. The URL is http://en.wikipedia.beta.wmflabs.org/w/thumb.php?f=Polar_bear.jpeg&width=220

You can generates additional thumbnails by changing the width parameter. On first hit we get an error though:

-------------------------
Error generating thumbnail

Error creating thumbnail: File::transform() returned false
-------------------------

Refreshing the page give the thumbnail.


Assigning myself to this bug.
Comment 6 Antoine "hashar" Musso (WMF) 2012-06-12 12:36:28 UTC
Definitely looks good to me now.

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


Navigation
Links