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

Проблемы с редиректом после обновления

Gatses

Chevereto Member
Добрый вечер.

После обновления до версии 2.1, старые изображения переместились в папку old, в связи с чем изображения по старым ссылкам стали недоступны. Кто подскажет что можно сделать?
 
аналогичная ситуация, маленькие картинки что в thumbs отображаются, при клике выводит ошибку
 
Проверьте, прописано ли в .htaccess

ServerSignature Off
Options -Indexes -MultiViews

Options +FollowSymLinks
RewriteEngine On
RewriteRule ^api$ api.php [L]
RewriteRule ^admin/(.*) admin/index.php [L]
RewriteRule ^images/(\w*\.)(jpg|png|gif)$ images/old/$1$2 [L] #legacy images
RewriteRule ^images/thumbs/(\w*\.)(jpg|png|gif)$ images/old/$1th.$2 [L] #legacy thumbs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

ErrorDocument 400 default
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default
 
Скорее всего выводит ошибку и за того что было удалено в .htaccess
-MultiViews

сервер не понимает, -MultiViews
 
Обновился с 2.0.16 на 2.3.
Не работает редиректы для старых картинок и миниатюр.
.htaccess выглядит вот так. Но на сервере не хочет работать.
В чем может быть дело? Куда копать?

Code:
ServerSignature Off
Options -Indexes -MultiViews
 
Options +FollowSymLinks
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 /chevereto
 
RewriteRule ^api$ api.php [L]
RewriteRule ^images/(\w*\.)(jpg|png|gif)$ images/old/$1$2 [L] #legacy images
RewriteRule ^images/thumbs/(\w*\.)(jpg|png|gif)$ images/old/$1th.$2 [L] #legacy thumbs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
 
ErrorDocument 400 default
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default
 
Back
Top