• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • 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

.htaccess makes images disappear

freebits

Chevereto Member
When I try to enable the 404 image in the .htaccess by removing the # all images on the site disappear and show the custom 404 image.

I use the standard .htaccess and rewrite is enabled on the server:

Code:
# Disable server signature
ServerSignature Off

# Disable directory listing (-indexes), Multiviews (-MultiViews) and enable Follow system links (+FollowSymLinks)
Options -Indexes
Options -MultiViews
Options +FollowSymLinks

<IfModule mod_rewrite.c>

        RewriteEngine On
RewriteCond %{REMOTE_ADDR} 24.61.108.5 [OR]
RewriteCond %{REMOTE_ADDR} 109.228.96.116

        # If you have problems with the rewrite rules remove the "#" from the following RewriteBase line
        # You will also have to change the path to reflect the path to your Chevereto installation
        # If you are using alias is most likely that you will need this.
        #RewriteBase /

        # 404 images
        # If you want to have your own fancy "image not found" image remove the "#" from RewriteCond and RewriteRule lines
        # Make sure to apply the correct paths to reflect your current installation
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule images/.+\.(gif|jpe?g|png|bmp) - [NC,L,R=404]
        #RewriteRule images/.+\.(gif|jpe?g|png|bmp) ./content/system/404.gif [NC,L]

        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_URI} !\.(css|js|html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpe?g|jpe|m$
        RewriteRule . index.php [L]

</IfModule>

The httpd.conf allows overwrite all.
Anyone any idea what can cause this?
 
Well on my site, but I have to enable the .htaccess string and all my visitors will only get error messages.
I can make a screenshot of it if you will, but you will only see the a 404 picture for every picture in the gallery.
 
Solved it with an alternative string...
Code:
RewriteEngine On
Options +FollowSymlinks

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} \.(gif|jpg|jpeg|png)$
RewriteRule .* ./content/system/404.gif [L]

I don't know what it alle means but it seems to work...
 
Back
Top