Closed Bug 628065 Opened 13 years ago Closed 13 years ago

Wiki images are not displaying

Categories

(Camino Graveyard :: Product Site, defect)

All
macOS
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: alqahira, Assigned: moz)

References

()

Details

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.
Off the top of my head:

RewriteRule ^wiki/(.+)$ /$1
Wevah figured out this rule would work:

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

And it's now deployed.
Assignee: samuel.sidler → moz
Status: NEW → RESOLVED
Closed: 13 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.