• 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

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

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