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

Error 404 after upload

Status
Not open for further replies.

EcliptuX

Chevereto Member
Hey there... i just installed latest version of chevereto, After i uploaded it, i checked in images folder.. i could see the images though,

The images with url

/image/P
Code:
Not Found

The requested URL /image/P was not found on this server
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Changed the salt, added Db details/ and changed admin pass.
Rewrite mode looks OK
 
Make sure that mod_rewrite is enabled and check if setting RewriteBase / in root .htaccess work.
 
Here my .htaccess :
Code:
# 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]
 
# 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]
 
RewriteRule ^thumbs/(.*)$ images/thumbs/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\.([a-z]{1,4})$ [NC]
RewriteRule . index.php [L]

The rewrite looks good : http://img.onnouscachetout.com/api
 
Perhaps they (or you) forget the AllowOverride setting in httpd.conf, that is a MUST to have a working mod_rewrite and is a configuration thing.
 
Status
Not open for further replies.
Back
Top