Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - zondar

Pages: [1] 2
1
FTP / Hostname does not match certificate
« on: December 24, 2021, 09:48:49 PM »
Hi.
When connecting via FTP, FileZilla issues a warning "Hostname does not match certificate"
The connection goes to the host domen.com and the certificate is issued for srv.domen.com
Is it possible to make the host and certificate match?

2
Hi.
When adding entries to htaccess:
Code: [Select]
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/xml
I get an error 500 and the log entry is Unknown filter provider DEFLATE,
and when adding records:
Code: [Select]
ExpiresActive On
ExpiresByType image/jpg "access 1 month"
ExpiresByType image/jpeg "access 1 month"
ExpiresByType image/gif "access 1 month"
ExpiresByType image/png "access 1 month"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 week"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 month"
ExpiresDefault "access 1 month"
also a mistake like 500 and logging: Invalid command 'ExpiresActive', perhaps misspelled or defined by a module not included in the server configuration.
Can this be fixed and how?

3
PHP / How to update libxml2 Version 2.9.1 to 2.9.4?
« on: June 04, 2020, 10:30:46 PM »
Hi.
The Opencart 3 site uses a module that requires libxml2 version 2.9.4 and higher to work.
Is there a way to upgrade libxml2 to version 2.9.4 without breaking anything? Used by PHP v7.1.33
Thanks.

4
CSF Firewall / How to block a range of IP addresses?
« on: May 06, 2020, 09:54:39 PM »
Hi.
Is it possible to deny access from several ip addresses with one rule?
For example, how to add ip addresses to the blacklist: 110.92.30.30, 110.92.31.60, 110.92.86.90
one rule? Or should each address be added separately?

5
E-Mail / Gmail Marks Emails As Spam
« on: April 24, 2020, 04:57:09 AM »
Hi.
Gmail sends emails sent from the server to spam, although all the checks passed successfully in the email properties.

On other mail services such as Yandex and Mail.ru this does not happen.
Adding a domain to postmaster.google.com did not solve the problem.
Is there any way to solve this problem?

6
Information / Parallel operation of two servers?
« on: April 19, 2020, 06:49:22 PM »
Hello.
I apologize in advance if I could not more accurately formulate the question.
Is it possible to organize the work of two independent servers running CWP in parallel mode with the same sites on them?
In order for the sites to continue to operate normally as one of the servers fails.
If this is possible, then are there any instructions on how to do this?
I guess that at least for this it is necessary to combine the work of DNS and MySQL servers, but I can not imagine how to do this.

*********************
Здравствуйте.
Заранее извиняюсь если не смог точнее сформулировать вопрос.
Можно ли организовать работу двух независимых серверов под управлением CWP в параллельном режиме с одинаковыми сайтами на них?
Для того, чтобы сайты продолжали работать в штатном режиме при выходе из строя одного из серверов.
Если такое возможно реализовать, то есть ли инструкции как это сделать?
Догадываюсь, что как минимум для этого надо объединить работу DNS и MySQL серверов, но как это сделать я не представляю.

7
Hello.
I have a VPS-1 CWPPro server that runs several sites, and I want to configure a second DNS on another server (VPS-2).
I installed pure CWP on VPS-2, since here https://forum.centos-webpanel.com/index.php?topic=6904.msg24552#msg24552 says that the Slave server does not need CWPPro, and then the following:
1) I don’t understand on which server I should execute the commands from the article at this address https://wiki.centos-webpanel.com/slave-dns-server-manager-download-version. On the VPS-1 or VPS-2, or both?
2) Is it necessary and most importantly how to reconfigure ns addresses?
I put it first at the domain registrar I need to specify the VPS-2 ip address for ns2, and then what are the steps?
Thanks in advance for your help.

*****************************

Здравствуйте.
У меня есть VPS-1 CWPPro сервер на котором работают несколько сайтов, и я хочу настроить второй DNS на другом сервере (VPS-2)
На VPS-2 я установил чистую CWP, так как тут https://forum.centos-webpanel.com/index.php?topic=6904.msg24552#msg24552 сказано, что для Slave сервера не нужно CWPPro, а дальше следующее:
1) Я не понимаю на каком сервере мне выполнять команды из статьи по этому адресу https://wiki.centos-webpanel.com/slave-dns-server-manager-download-version. На VPS-1 или VPS-2 или на обоих?
2) Надо ли и главное как перенастраивать ns адреса?
Я пологаю сперва у регистратора домена мне надо указать ip адрес VPS-2 для ns2, а дальше какие шаги?
Заранее спасибо за помощь.

8
Backup / Dump the database 0 bytes after changing the IP server
« on: August 06, 2019, 04:11:48 AM »
Hi.
After changing the IP server, the backup of the database stopped working correctly. All database dumps are 0 bytes in size. The user account is logged in the second time. It can be fixed?

9
Information / How to make a job in Cron?
« on: July 29, 2019, 08:37:35 PM »
In the module for Opencart there is a task for Cron with such a link.
Code: [Select]
curl "http://www.mydomen.com/index.php?route=extension/module/export_to/cronPost&user_token=4865825"I inserted this link into the Cron scheduler in the CWP user panel and clicked the Run button. But after a while, there is no result of the work. Is the current view link correct for the Cron job? And how to check whether this task works or not?

10
DNS / Adding an rDNS/PTR record to a non-VPS server
« on: July 09, 2019, 08:28:23 PM »
Hi.
Is it possible to add rDNS / PTR recording with CWP to remove the error rDNS / PTR = FAILED.?
 The physical server is located in the data center and does not have a control panel like a VPS. Only installed OS and CWP.

11
CentOS 7 Problems / Drop in server performance.
« on: July 08, 2019, 04:36:25 PM »
I apologize if this question was raised, I could not find.

After a month, the performance of vps dropped noticeably.
When trying to log into CWP, after entering the login and password, you have to wait about 20 seconds. The CWP interface download speed has dropped significantly.
If I try to open a used site (I use opencart), then I also wait 10-15 seconds for a download. The CPU usage reading at this point (CPU Usage) is 50%, and Disk IO 40-50.
The opencart admin panel also has problems loading the module settings.
Is this problem related to the CWP itself or is this a problem with the VPS?
This problem occurred a second time. The first time decided to reinstall VPS and CWP. After reinstalling everything worked fine until recently. I did not conduct any manipulations with CWP. Only setting up sites.

System Info:
CPU Model: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
CPU Details: 2 Core (2600 MHz)
Distro Name: CentOS Linux release 7.6.1810 (Core)
Kernel Version: 3.10.0-957.12.2.el7.x86_64
Platform: x86_64 kvm
CWPpro version: 0.9.8.847
****************************************
Падение производительности сервера.
Прошу прощение если этот вопрос поднимался, я найти не смог.

По прошествии месяца заметно упала производительность vps.
При попытки войти в CWP, после ввода логина и пароля, приходится ждать примерно секунд 20. Скорость загрузки интерфейса CWP заметно упала.
Если попытаться открыть используемый сайт (использую opencart), то так же секунд 10-15 жду загрузки. Показание загрузки процессора в этот момент(CPU Usage) - 50%, а Disk IO 40-50.
В админ панели opencart так же наблюдаются проблемы с загрузкой настроек модулей.
Связано ли эта проблема с самой CWP или же эта проблема с VPS?
Эта проблема возникла уже второй раз. Первый раз решил переустановкой VPS и CWP. После переустановки всё работало отлично до последнего времени. Никаких манипуляций с CWP не проводил. Только настройка сайтов.

12
Mod_Security / Error 403 on Opencart
« on: June 25, 2019, 07:30:51 AM »
Hello.
Who can faced a problem on Opencart. When I try to save changes in the settings of the modules or template, I get an error:

Forbidden
You don't have permission to access /admin/index.php on this server.


Fix Permissions does not help.
The files have 644 permissions, and 755 on folders.

It only helps to disable ModSecurity for the domain.
I use Comodo WAF

The last entry in the domain.com.error.log file:
Code: [Select]
[Sun Jun 23 15:44:57.234813 2019] [:error] [pid 29001:tid 139648344995584] [client 109.198.206.170:49082]
[client 109.198.206.170]
ModSecurity: Access denied with code 403 (phase 2).
Pattern match "(?:'\\\\xbf?\\\\x22|\\\\x22\\\\xbf?'|^\\\\+?$)" at ARGS_POST:banner_image[1][0][link]. [file "/usr/local/apache/modsecurity-cwaf/rules/02_Global_Generic.conf"]
[line "199"]
[id "211290"] [rev "3"]
[msg "COMODO WAF: XSS and SQLi vulnerability||domain.com|F|2"] [severity "CRITICAL"] [tag "CWAF"] [tag "Generic"]
[hostname "domain.com"] [uri "/admin/index.php"] [unique_id "XQ90ScHhCrL7AehvkFkUHgAAANA"], referer:
https://domain.com/admin/index.php?route=design/banner/edit&user_token=7FUNhvhi3k17PeRhIFApSmj07xtIQX8V&banner_id=8

Is it possible to fix this somehow without resorting to disabling ModSecurity?
Thank you in advance.
**********************************************
Здравствуйте.
Может кто сталкивался с проблемой на Opencart. При попытки сохранить изменения в настройках модулей или шаблона получаю ошибку:

Forbidden
You don't have permission to access /admin/index.php on this server.


Fix Permissions не помогает.
На файлах выставлены права 644, а на папках 755.

Помогает только отключение ModSecurity для домена.
Использую Comodo WAF
Можно-ли это как то исправить не прибегая к отключению  ModSecurity?
Заранее спасибо.


13
Updates / Update broke Opencart? Again
« on: June 23, 2019, 12:59:51 PM »
Hello everyone, I need help.

Today I discovered that again, apparently after the update, saving any changes in Opencart results in the message:
Forbidden
You do not have permission to access /admin/index.php on this server.


This is the second time, but for the first time, the problem was with saving changes in a third-party template. It was decided to transfer Opencart to a standard template, and then again to a third-party, while it was necessary to reconfigure it.

Now saving changes is impossible in any template, any module and the Opencart section.

Fix Permissions, like last time, does not help.

The files have 644 permissions, and 755 on folders.

Thank you in advance
******************
Привет всем, мне нужна помощь.

Сегодня обнаружил, что снова, видимо после обновления, сохрание любых изменений в Opencart приводит к появлению сообщения:
Forbidden
You don't have permission to access /admin/index.php on this server.


Это уже второй случай, но в первый раз проблема была при сохранении изменений в стороннем шаблоне. Решилось переводом Opencart на стандартный шаблон, а потом снова на сторонний, при этом надо было заново его настроить.

Сейчас сохрание изменений невозможно в любом шаблоне, любом модуле и разделе Opencart.

Fix Permissions, как и в прошлый раз, не помогает.

На файлах выставлены права 644, а на папках 755.

Заранее спасибо

14
CentOS 7 Problems / Options FollowSymlinks in htaccess causes error 500
« on: February 14, 2019, 01:45:57 PM »
Hi. The websites ceased to open giving error message 500. By practical consideration found out that it is guilty of this htaccess with the Options FollowSymlinks parameter
At other forums advise in the httpd.conf file to change AllowOverride value with none to All.
I made it, restarted service Apache, but I continue to receive error 500. Work of the website is recovered if to comment out the line Options FollowSymlink (that received a look: #Options FollowSymlink)
Whether it is possible to solve as that it a problem?

*************************************************
Привет. Перестали открываться сайты выдавая ошибку 500. Опытным путём выяснил, что виноват в этом htaccess с параметром Options +FollowSymlinks
На других форумах советуют в файле httpd.conf изменить значение AllowOverride с none на All.
Я это сделал, перезапустил службу Apache, но продолжаю получать ошибку 500. Работа сайта восстанавливается если закомментировать строку Options +FollowSymlink (чтобы получила вид: #Options +FollowSymlink)
Можно ли решить как-то это проблему?

15
SSL / Site Not Found after the ssl installation
« on: February 02, 2019, 03:01:05 PM »
Hi. After installation of the seritifikat the website ceased to open. The browser shows the message "Not Found The requested URL / was not found on this server.". Removal of the certificate did not solve a problem. I will be grateful for the help. The certificate was PositiveSSL Comodo SSL Certificate

Pages: [1] 2