Answer the question
In order to leave comments, you need to log in
How to find and get rid of Bitrix redirect during 1c_import authorization?
Good afternoon everyone!
Faced the following problem:
When you try to start uploading from 1C to the Bitrix website (or check the connection), an incomprehensible redirect to jino.ru hosting occurs with a text about lack of funds. WE DO NOT HAVE ANY RELATIONSHIP WITH JINO AND NEVER HAVE ANYTHING!
In February, the same problem popped up, but quickly resolved itself (I think someone topped up the hosting or domain balance). Now for more than a month we have not been able to unload due to this problem.
According to the log, the error is as follows:
Ответ сервера: <!DOCTYPE html><html data-page="money" data-version="1.11.2"><head><meta http-equiv="content-type" content="text/html;charset=utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Недостаточно средств РЅР° аккаунте</title></head><body><noscript><h1>Недостаточно средств РЅР° аккаунте</h1><p>Работа сайта приостановлена.</p><p><a href="https://www.jino.ru/">Джино</a></p></noscript><div id="root"></div><script src="//parking-static.jino.ru/static/main.js" charset="utf-8"></script></body></html>success
PHPSESSID
lnlked9omfclsaecejd3ivjuj1
sessid=213a516647d5378a06df03f8e7ed1e7d
timestamp=1626774896
Ответ сервера: <!DOCTYPE html><html data-page="money" data-version="1.11.2"><head><meta http-equiv="content-type" content="text/html;charset=utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Недостаточно средств на аккаунте</title></head><body><noscript><h1>Недостаточно средств на аккаунте</h1><p>Работа сайта приостановлена.</p><p><a href="https://www.jino.ru/">Джино</a></p></noscript><div id="root"></div><script src="//parking-static.jino.ru/static/main.js" charset="utf-8"></script></body></html><!DOCTYPE html>
https://forum.infostart.ru/forum9/topic264367/
Answer the question
In order to leave comments, you need to log in
perhaps on the computer in the ets/hosts file an outdated site IP is registered
give your htaccess
The problem may be in the GET parameter because get parameters like ... are used during import? http://site..ru
if you have %{THE_REQUEST} in your rules, then it can catch on to a redirect.
Here is an example
############################################################################
#### Убираем повторяющиеся слеши (/) в URL ####
############################################################################
RewriteCond %{THE_REQUEST} //
# Проверяем, повторяется ли слеш (//) более двух раз.
RewriteCond %{QUERY_STRING} !http(s|)://
# Убедимся что это не урл в GET
RewriteRule .* /$0 [R=301,L]
# Исключаем все лишние слеши.
############################################################################
#### Перенаправляем протокол http на https ####
############################################################################
RewriteCond %{HTTPS} off
# Проверяем наличие https в URL.
RewriteCond %{REQUEST_URI} !^/bitrix/admin/1c_exchange\.php$ [NC]
# Исключим обмен с 1С, ему требуется только 200
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Перенаправляем протокол на http.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question