Page MenuHomePhabricator

thumb URL gives a 403 forbidden
Closed, ResolvedPublic

Description

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.


Version: unspecified
Severity: major

Details

Reference
bz37034

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:27 AM
bzimport set Reference to bz37034.

most of apaches return 403 for unknown reason

(In reply to comment #1)

most of apaches return 403 for unknown reason

What do you mean?

(In reply to comment #0)

There is most probably an Apache configuration mistake for the upload virtual
host.

You mean these lines?

  1. upload.wikimedia.org
  2. 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

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.

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.

Definitely looks good to me now.