Wiki images are not displaying

VERIFIED FIXED

Status

Camino Graveyard
Product Site
--
major
VERIFIED FIXED
7 years ago
7 years ago

People

(Reporter: Smokey Ardisson (offline for a while; not following bugs - do not email), Assigned: Wevah)

Tracking

Details

(URL)

All uploaded images are not displaying on the wiki since the upgrade.  The files are physically there on disk, but they're not being displayed (although it does seem like they start to load initially ("loading" image and the size blocked out, and then quickly disappearing to the alt text).

The root of the problem appears to be that the wiki wants to find the image at, e.g., http://wiki.caminobrowser.org/wiki/images/b/be/NibAlignDownloads.png (which would be correspond more-or-less to the filesystem path, /home/cbo/wiki/images/b/be/NibAlignDownloads.png) but Apache wants to serve the images at http://wiki.caminobrowser.org/images/b/be/NibAlignDownloads.png (note the lack of "wiki" in the path).  I stumbled upon this quite by accident.

I tried to muck around with the wiki's .htaccess to make it work, but no luck.  Sam will need to figure it out.
(Assignee)

Comment 1

7 years ago
Off the top of my head:

RewriteRule ^wiki/(.+)$ /$1

Comment 2

7 years ago
Wevah figured out this rule would work:

  RewriteRule ^wiki/(.+)$ /$1 [L]

And it's now deployed.
Assignee: samuel.sidler → moz
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Saved again by Regex Jesus!  Thanks, Wevah!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.