• 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.

404 Not Found on uploaded images

Status
Not open for further replies.

Hammer

Chevereto Member
hi
please visit this link : http://up.talathemes.com/images/2014/02/12/addon.jpg
i got 404 error on all images that i have uploaded in my server

this is my .htaccess:
# Disable server signature
ServerSignature Off
# Disable directory listing (-indexes), Multiviews (-MultiViews) and enable Follow system links (+FollowSymLinks)
Options -Indexes
Options -MultiViews
Options +FollowSymLinks
# Turn on mod_rewrite
RewriteEngine On
# 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
RewriteBase /
# The /api rewrite
RewriteRule ^api$ api.php [L]
RewriteRule images/([a-zA-Z0-9]+\.)(jpg|png|gif)$ images/old/$1$2 [L] #legacy images
RewriteRule images/([a-zA-Z0-9]+\.)(jpg|png|gif)$ images/old/$1th.$2 [L] #legacy thumbs
# 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) content/system/img/404.gif [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\.([a-z]{1,4})$ [NC]
RewriteRule . index.php [L]
 
i removed the .htaccess in the images directory and problem fixed
but i think .htaccess in that folder was important for directory security
please help me
Code:
 <Files .*>
order allow,deny
deny from all
</Files>

AddHandler cgi-script .php .php3 .phtml .pl .py .jsp .asp .htm .shtml .sh .cgi .fcgi
Options -ExecCGI
 
Do you use chmod 777 in that folder or you have Apache with permission?
 
Then you need that rule. Ask your hosting company how to make it possible.
 
Status
Not open for further replies.
Back
Top