• 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

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