• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Fancy image "not found" and external storage

hugendubel

Chevereto Member
Hi,

your code in root .htaccess

Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule images/.+\.(gif|jpe?g|png|bmp) - [NC,L,R=404]
#RewriteRule images/.+\.(gif|jpe?g|png|bmp) content/images/system/default/404.gif [NC,L]

does not work with external storage (eg Amazon s3).


How to modify this code to work with external storage?


My Images are included like this (from Amazon)

Code:
http://xxxxxxx-xxxxxxx.s3-website.eu-central-1.amazonaws.com/2015/01/13/269492945c29d.md.jpg
 
Is impossible that such code works in Amazon S3 or any non-Apache server. The reason is because that rules are never read by the external storage and because Amazon S3 servers doesn't run Apache. AFAIK you can't do a 404 image replacement in Amazon S3.
 
Back
Top