Support

Admin Tools

#40767 Yandex

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.4.4
PHP version
8.1.28
Admin Tools version
7.5.3

Latest post by tampe125 on Thursday, 30 May 2024 08:21 CDT

sillitoe

Please excuse my ignorance. However, I have one NGO (UPF Eurasia) website that mainly serves Russia, but which is hosted here in West Europe for various reasons. They make use of Yandex, the Russian search engine, a lot, and asked me to add a file (yandex_xxxxxxxxxxxxx.html) in the root folder of the website and a similar TXT record in the DNS for statistical purposes, I believe. I've been having some difficulty getting this to work properly for them and I just noticed that "by default" there is a record created in the .htaccess file "SetEnvIf user-agent "(?i:Yandex)" stayout=1", in the section "Common hacking tools and bandwidth hoggers block". Do I need to remove this particular line in this case?

By the way, this may not be an Akeeba Admin Tools problem, however, I'm having difficulty in that I cannot save changes in Akeeba Admin Tools. Actually, at the moment, I have to disable Akeeba Admin Tools in order to save changes to the global configuration, but this does not allow me to save changes made in Akeeba Admin Tools itself. I just mention this in case you have any suggestion as to where this problem might be coming from.

Thanks,

Alan

tampe125
Akeeba Staff

Hello,

yes, you have to remove the Yandex User agent from the list of blocked ones, moreover you'll have to add the name of html file that you placed in the root inside the list of exceptions.

Regarding your issue with Admin Tools saving settings, I think this is not related to the plugin itself. Does it happen with all options or only with specific ones? Do you get any error message?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

sillitoe

Thank you very much.

At one point this morning, I had the impression that I was able to save a change to the WAF, but otherwise any attempt to save changes to the WAF or HTACCESS make just results in a 504 Gateway Time-out.

I seem to be getting some possibly related error messages in the log file of:

Date : 30/05/2024 11:20:57 IP : 83.99.11.193:0 Requête : /administrator/index.php?option=com_admintools&view=configurewaf Code HTTP : 504 Referer : https://eurasia.upf.org/administrator/index.php?option=com_admintools&view=Configurewaf User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0 Erreur : AH01075: Error dispatching request to :   Date : 30/05/2024 11:20:57 IP : 83.99.11.193:0 Requête : /administrator/index.php?option=com_admintools&view=configurewaf Code HTTP : 504 Referer : https://eurasia.upf.org/administrator/index.php?option=com_admintools&view=Configurewaf User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0 Erreur : AH01067: Failed to read FastCGI header   and   Date : 30/05/2024 11:17:57 IP : 83.99.11.193:0 Requête : /administrator/index.php?option=com_admintools&view=htaccessmaker Code HTTP : 499 Referer : https://eurasia.upf.org/administrator/index.php?option=com_admintools&view=Htaccessmaker User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0 Erreur : AH01075: Error dispatching request to :   Date : 30/05/2024 11:17:57 IP : 83.99.11.193:0 Requête : /administrator/index.php?option=com_admintools&view=htaccessmaker Code HTTP : 499 Referer : https://eurasia.upf.org/administrator/index.php?option=com_admintools&view=Htaccessmaker User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0 Erreur : AH01067: Failed to read FastCGI header




.

tampe125
Akeeba Staff

Ok, I think the problem is caused by your mail settings. Admin Tools sends out a troubleshooting email when you make some sensitive operations, if your Joomla settings are not correct the request might time out.

Can you please get inside Joomla Global Configuration and try to send out a test email? Do you get it? If not, please double check your settings, since this means it's the source of the error.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

sillitoe

Dear Davide,

Thank you very much. This was indeed the problem. I would never have thought of this!

Best wishes,

Alana

tampe125
Akeeba Staff

You're welcome!

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!