Jump to content

CWP - Control WEB Panel

Exclusively For CWP panel including tutorial and free troubleshoot.

  1. 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?

  2. 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

  3. 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…

  4. 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…

  5. Started by c64,

    after mod security install httpd will not start httpd: Syntax error on line 516 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf.d/mod_security.conf: Cannot load /usr/lib64/ into server: /usr/lib64/: cannot read file data: Is a directory here are the lines line 2 of mod_security.conf: LoadFile /usr/lib64/ line 516 of httpd.conf: Include /usr/local/apache/conf.d/*.conf

    • 4 replies
    • 1.2k views
  6. 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.2k views
  7. 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
    • 4.9k views
  8. 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.6k views
  9. 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.8k views
  10. Started by leisegang,

    i trying to install php 8.3 via cwp php-fpm selector. it will not work, i get this error: Dependencies resolved. Nothing to do. Complete! chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28505 100 28505 0 0 61967 0 --:--:-- --:--:-- --:--:-- 61967 /usr/local/cwpsrv/htdocs/resources/conf/el8/php-fpm_selector/external_modules/8.3/sodium.sh: line 9: /opt/alt/php-fpm83/usr/bin/phpize: No such file or directory /usr/local/cwpsrv/htdocs/resources/conf/el8/php-f…

    • 1 reply
    • 10.1k views
  11. In this tutorial we’ll install most awaited php version in CWP control panel as php switcher. This easy guide will guide you upon how to install PHP 8 easily. PHP 8.3 comes with numerous improvements and new features such as: Typed Class Constants Added json_validate function Dynamic class constant and Enum member fetch support class_alias() supports aliasing built-in PHP classes New #[\Override] attribute New stream_context_set_options function PHP CLI Lint (php -l) supports linting multiple files at once Fallback value support for PHP INI Environment Variable syntax Random extension: New \Random\Randomizer::ge…

      • Like
    • 7 replies
    • 7.9k views
  12. Started by leisegang,

    I have noticed over the last 2 weeks that AutoSSL has stopped working, this is not good for me or my clients. Is there a cronjob i can run every night that checks and renews the ssl certificates?

    • 1 reply
    • 2k views
  13. Hi, I hope you are be fine. Kindly guide me on how can make a high secure and top performance config for /etc/nginx/nginx.conf which help the server against attacker and keep server more secure and mitigate attacks. Kindly share the whole ngnix.conf here with full details. thank you very much.

  14. Started by sal83,

    Hi, I have installed Tomcat and actiavted it. I have given access to users. CWP Tomcat Manager Tomcat server status Version: Apache Tomcat/9.0.58 Running on port: 8080 Java Information openjdk version "1.8.0_392" OpenJDK Runtime Environment (build 1.8.0_392-b08) OpenJDK 64-Bit Server VM (build 25.392-b08, mixed mode) https://pasteboard.co/4dpSjyI3Jp13.png But in the User Panel under Tomcat manager I am getting the below erro: Tomcat Manager not available, please contact admin for more information. Screen Shot: https://pasteboard.co/ht09dZ1fjSlS.png How can i fix

  15. Hi, I have set up a few reseller packages in CWP pro. I have set up the API as per WHMCS. The user is getting created from clientexec, however I want to assign them the reseller packages. However the new user is getting created with Default package. I think i might be missing some API permissions. Which API permissions are required to assign reseller packages.

  16. Started by leisegang,

    I have now integrated it into CWP, so for the benefit of others. 1. Create /usr/local/cwpsrv/htdocs/resources/admin/modules/apache_status.php with the following contents: <?php // Apache Status - Accesses v0.4 $url = "http://localhost/server-status"; $ch_session = curl_init(); curl_setopt($ch_session, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch_session, CURLOPT_URL, $url); $result_url = curl_exec($ch_session); echo $result_url; ?> To Add under webservers instead of Developer Options /usr/local/cwpsrv/htdocs/resources/admin/include/3rdparty.php <script type="text/javascript"> $(document).ready(function() { var newButton…

    • 2 replies
    • 4k views
  17. Started by leisegang,

    on cpanel i loved the email delivery tab. that is now missing. @Sandeep B. could you take a look at this plugin and try to get it working? https://github.com/ChobPT/cwp-email-delivery

      • Like
    • 8 replies
    • 5.5k views
  18. Started by leisegang,

    How can i update openssl to version 3.x. The reason i ask is that one of my customers is a public Office and they do security checks on all webpages in their portfolio. Openssl is on a too low version. I currently have v 1.1.1

  19. Started by sva,

    hello guys , hello guys , i watch video about make mx_routing with gsuite, i try everything but i got this message's when try receiving mails : and from gmail : 554 5.4.0 Error: too many hopse

  20. When i send an email, i have a PTR record for my hostname server.domain.com it has IP 192.168.0.1 (not real IP, but i dont want to publish my server IP) I also have an addon IP address 192.168.0.2 IPs and hostname is changed to make this simple. When i send an email it uses the 192.168.0.2 IP address and not the one for the hostname, this has the "wrong" PTR record, and so gmail blocks the email because its not "correct" ptr and several other parameters. How do i change this so it doesnt happen? server sends around 1000-2000 mail a day and about 50-100 are blocked. this is quite irritating that it does not use hostname and server IP in CWP for sending email.…

  21. Started by torettos,

    Hello Sandeep, i have a sоme questions for this "fast, free and open-source spam filtering system": Rspamd I fund this theme in CWP forum (from Netino) how to install and configurated with CWP ... the steps is actuals? Did you have experience and observation with this spam system? Do you recommend it? Thank you in advance and have a nice day!

      • Thanks
    • 11 replies
    • 2.4k views
  22. Started by Fidolas,

    I've noticed a very large log file into /usr/local/cwp/php71/var/log/php-fpm.log Does anyone knows how to setup a logrotate entry to keep that log and others on that folder under control? Thanks in advance!

  23. Started by sal83,

    Hi - i started the shared hosting server with 200 GB SSD VPS using CWP Pro. It is a LVM disk so vertically exapndable - i have now got some clients and want to exand the disk to 2 TB - I have expanded the VPS VM storage on proxmox. How does that reflect in CWP - CWP is still shwoing 200GB.

    • 1 reply
    • 6.7k views
  24. Hi - I have enabled Apaxche/NGINX/Varnish/PHP-FPM with Redis, Mongo, PGSQL, NodeJs and Memcached on the server. I want to provide SSH access to the clients for them to run CLI commands. What security controls should i establish on the server to harden before providing SSH access? I understand REDIS etc. might require specific hardening before providing SSH access to end clients. Kindly advise.

    • 3 replies
    • 6.4k views
  25. HI, Dear guys please guide me on how to install Snort or alternatively intrusion system in cwp admin for mitigate the attack an sql injection please thank you very much.