Jump to content

CWP - Control WEB Panel

Exclusively For CWP panel including tutorial and free troubleshoot.

  1. hello; I am using "AlmaLinux release 8.9 (Midnight Oncilla)". I use the "Purge Varnish" plugin on WordPress. but there is no secret file. How can I create this? I am using cwp pro. web servers: nginx-varnish-apache.. Is there a different way to clear cache? thank you..

    • 2 replies
    • 3.7k views
  2. Brotli compression for Apache will save you from slow compression speed as it uses latest compression technology developed by google. The mod_brotli module provides the BROTLI_COMPRESS output filter that allows output from your server to be compressed using the brotli compression format before being sent to the client over the network. This module uses the Brotli library found at https://github.com/google/brotli. Follow the installation procedure steps to install mod_brotli :- Installing Brotli on your server: yum install pcre-devel cmake -y cd /usr/local/src git clone https://github.com/google/brotli.git cd brotli git checkout v1.0 ./configure-cmake make &am…

  3. Started by narin,

    I have a problem with apache MPM in CWP. MPM EVENT is constantly idle and apache is not responding to requests even though it is active. I believe there is a problem with EVENT.

      • Like
    • 3 replies
    • 1.7k views
  4. HI, I hope you are doing well, Just I would like to ask, that I want to change the : /etc/my.cnf as below but I'm not sure it will be correct or need amendment ?? kindly reviwe the my.cnf file and advice me. because I need to optimze the DB and would like to use mySIM as a default storage. # # This group is read both by the client and the server # use it for options that affect everything # [client-server] [mysqld] default_storage_engine = MyISAM max_connections = 30000 max_user_connections=10000 innodb_lock_wait_timeout=120 max_heap_table_size = 1G tmp_table_size = 1024M thread_cache_size = 128 innodb_buffer_pool_size = 2G innodb_log_file_size = 2G innodb_bu…

  5. Hi Ik had to re-install my server again. I rebuilt it this time with Alma Linux 8.10 minimal. After installing Alma, i updated, rebooted and then i upgraded the kernel to the last version that was available that moment, 6.10.3-1.el8.elrepo.x86_64. then i installed CWP which went very smooth and fast without a problem. After the CWP installation i updated it again, and after, since it was still empty and clean, i went for the MariaDB update to Server version: 10.11.9-MariaDB. This all went smooth no issues. Then i updated the Apache to 2.4.62. this also went smooth. After this all i rebooted several times, i set up the server the normal way, with hostname and …

  6. Started by Navid,

    Hi, dear Sandeep it's very important to know how can UPgrade MariaDB to last and stable one. 1- I need to upgrade MariaDB from 10.5 to MariaDB 10.11.210.11.2. or higher 2- and need to upgrade nginx to 1.23.3 or latest one. kindly need your help and your full guide please thank you very much.

  7. Started by vtheod,

    Hello Sandeep, I want to ask how is it possible to install Elasticsearch? There is an article in CWP wiki, but I'm afraid that it is quite outdated (https://wiki.centos-webpanel.com/how-to-install-elasticsearch) Your help will be very appreciated. Best regards Vassilis

    • 4 replies
    • 1.2k views
  8. Started by Netino,

    How can I alert the development team to a very, very serious security flaw, where it is possible to execute arbitrary commands with root user permission?! I tried to contact support, and they simply disregarded my message saying that I don't have a support "contract". My server was compromised, and I have the URL to replay the attack. Regards, Netino

    • 5 replies
    • 1.5k views
  9. Started by leisegang,

    Roundcube Webmail 1.5.6 https://xxxx.com/roundcube/?_task=mail&_action=list&_refresh=1&_layout=widescreen&_mbox=INBOX&_page=1&_remote=1&_unlock=loading1719308387542&_=1719308382134 500 (Internal Server Error) does not load any mail at all. just tried a reinstall of the instructions here: it gives a red box in the right lower corner that says "Server error! (error)"

    • 2 replies
    • 1.4k views
  10. I am using CWP server since long, I am looking for real-time MySQL replication.

    • 2 replies
    • 967 views
  11. Brotli for web-server is the new modern compression module that is better than gzip/deflate, Also it is more secure since brotli only runs on HTTPS protocol. Just like gzip, Brotli is a lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate/gzip but offers more best compression. Gzip vs Brotli: The advantage for Brotli over gzip is that it makes use of a dictionary and thus it only needs to send keys instead of full …

    • 2 replies
    • 8.3k views
  12. I want to disable the phpMyAdmin interface but I can't see any easy way to do so. Is there any way to easily enable and disable this? Thanks in advance,

  13. Started by saviorhost,

    I am the hosting provider. Centos web panel is a really nice web server. Currently, I am using nginx+php-fpm+varnish system as configuration. I generally host sites using WordPress infrastructure. Is there a configuration you can recommend regarding speed?

    • 2 replies
    • 1.2k views
  14. Started by saviorhost,

    error: package libzip is not installed error: package libzip-devel is not installed ln: failed to create symbolic link ‘/usr/bin/cmake3’: File exists --2024-05-02 03:09:06-- http://static.cdn-cwp.com/files/php/addons/libzip-1.5.1.tar.gz Resolving static.cdn-cwp.com (static.cdn-cwp.com)... 167.114.21.226, 151.80.90.199, 137.74.148.116, ... Connecting to static.cdn-cwp.com (static.cdn-cwp.com)|167.114.21.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1189827 (1.1M) [application/x-gzip] Saving to: ‘libzip-1.5.1.tar.gz’ 0K .......... .......... .......... .......... .......... 4% 236K 5s 50K .......... .......... .........…

    • 0 replies
    • 1.2k views
  15. Started by Mah1973,

    Hi, I have a problem with the CWP unsuspend function. When I unsuspend a user the quota doesn't get updated for him and I always have to edit it manually. edquota username and change all 1's to 0's to make it unlimited. I want it to be done automatically when the suspend / unsuspend functions are used. [root@server16 ~]# quotaon -pa group quota on / (/dev/sda1) is on user quota on / (/dev/sda1) is on project quota on / (/dev/sda1) is off [root@server16 ~]# cat /usr/local/cwp/.conf/quota_part.conf / [root@server16 ~]# cat /etc/fstab # # /etc/fstab # Created by anaconda on Mon Jun 12 13:24:27 2023 # # Accessible filesystems, by reference, are mai…

  16. Started by leisegang,

    I have implemented this plugin https://github.com/coriaweb/cwpipv6/ I have this IP subnet of /64 how can i use this script to add it to server? Can i change the code in the ipv6_list.php to <select name="ipv6range"> <option value="64">64</option> <option value="112">112</option> <option value="120">120</option> </select> If my ip rrange is: 1a01:4f8:221:34c2:: / 64 can i just input: 1a01:4f8:221:34c2:: in the input field and chose the dropdown and 120? I dont need 65000 adresses, only 256 and that would be more than needed. Aalso when i try this and go to assign IP the dr…

      • Haha
    • 4 replies
    • 12.1k views
  17. In this tutorial I’ll guide you how you can enable TLSv1.3 in CWP-httpd/Apache (when only Apache webserver installed) I’ve tested this and it seems to be working fine. HTTPS performance has been made faster and safer for every user and every device after you enable the tls 1.3 you’ll notice faster website loading. Transportation Layer Security (TLS) 1.3 protocol provides unparalleled privacy and performance compared to previous versions of TLS and non-secure HTTP. Performance has a major impact on user experience. TLS 1.3 represents a pivotal turning point for HTTPS performance. Modern mobile networks will routinely add over 100ms of latency to each request. TLS 1.3 …

  18. Started by Starburst,

    Is there any way to get PHP Defender that uses Snuffleupagus to work the PHP 8.2.x on AlmaLinux 8.x?

  19. Started by leisegang,

    As of now i use the PHP-FPM and apache. i mainly host wordpress sites so use of the .htaccess files is absolutely neccesary. if i did the switch to Nginx & Apache would that be that the static files be served with nginx and the php/html with apache? what type of performance gain would i be likely to recieve? I used to use nginx with cpanel, but then i had somewhat more control over this. If its important i use IPV6 now too. Thanks for any answers or solutions

  20. Started by sal83,

    Hi - i have changed my SSH port to custom port (not 22). I have placed the ssh id_rsa.pub in Hetzner storage box through SCP and able to remote login from my CWP server using the SSH keys. Back up is set up in local machine. The backup folder exists, but the Remote Sync test is failing. Top three tests are green but test for remote connection is tested/activated is red. Checking if config file exists /usr/local/cwp/.conf/remote_backup.conf. Checking if key file exists /root/.ssh/backup/id_rsa.pub Checking if backup folder /backup exists and creating it if not exists. Checking if remote connection is tested and activated. I get below error: C…

  21. In this tutorial we’ll learn how you can install CXS in CWP -Control Web Panel wiht below simple steps. CSX is paid Program and you need license to install and use it : ConfigServer eXploit Scanner (cxs) is a server malware, exploit and antivirus scanner that performs active scanning of files as they are uploaded to the server For dedicated or virtual servers – protects all domains, IP addresses and users on the server Active (realtime), manual, and scheduled scanning can be performed Scans for suspected exploits, viruses, suspicious resources Quarantine or delete suspicious files Provides an easy to use interface within the root or ad…

  22. In this tutorial we’ll learn how to disable php mail() function in CWP to block the users to be able to send spam emails or infected emails from php mail function. This will force users to use SMTP based email sending structure which is more secure and easily controllable upon the amount of mails they are sending i.e. you can add quota hourly basis in packages. Run this below commands to disable php mail function completely :- PHP switcher : echo "disable_functions = mail" > /usr/local/php/php.d/disabled_function.ini PHP-CGI selector : echo "disable_functions = mail" > /opt/alt/php53/usr/php/php.d/disabled_function.ini echo "disable_functi…

      • Like
    • 4 replies
    • 15.9k views
  23. I would like to customize the hostname.conf and hostname-ssl.conf template files for HTTPD. However, it appears that these are assigned by default by CWP for the hostname, but there is no way to change these assignments to custom templates from the admin panel interface as far as I can tell. It is only possible to change templates as a general default in WebServers Main Conf (where custom templates are not displayed as an option), or under WebServers Domain Conf (where only hosted domain configurations are available). I would like to use custom templates if possible rather than editing hostname.conf and hostname-ssl.conf from WebServers Conf Editor to avoid overwri…

    • 4 replies
    • 5.1k views
  24. I was looking in the /usr/local/apache/conf.d/hostname-ssl.conf file and it says that the webpage is located in htdocs <Directory "/usr/local/apache/htdocs/"> AllowOverride All </Directory> I would like to change that so it shows either the login screen OR a custom page located in /home/default/ Is it that simple to change the directory? and how do i get it to display the loginform? And lastly how can i create a loginform on another page to log in directly to the controlpanel?

    • 1 reply
    • 1.8k views
  25. Started by leisegang,

    Is there a way or place in CWP i can view a list of all accounts and what PHP version they are using, i have a few/several sites that are PHP7.4 now and i dont want to open every site in the control panel and change the site to PHP8.3 Also i cannot upgrade ALL sites to php 8.3 because they dont support it yet. If needed how can i write a plugin to make it happen`?

    • 2 replies
    • 4.9k views