New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

500 Errorr

Started by yeknafar, February 22, 2025, 01:50:24 PM

Previous topic - Next topic

yeknafar

Hi Dudes

I have used fix permission but some of my subfolders give 500 error and the others give the 500 error when users want to login or surf deeper in pages.

Thanks
I love CWP

yeknafar

I did most of the things that can be find on the forum and the net about fixing 500 server error. Even disabled mod security too but no result.

Maybe fixing permission work better for subdomains not subfolders.
I love CWP

cyberspace

What WebServer setup do you use ? Is it Apache only, Nginx, nginx + apache, or something else ?

overseer

Can you give a sample directory listing (recacted if necessary)?

yeknafar

Quote from: cyberspace on February 22, 2025, 10:38:40 PM
What WebServer setup do you use ? Is it Apache only, Nginx, nginx + apache, or something else ?

Thank you for your attention and answer

It was just Apache. As I saw in Google search console we have this error about 13 days in some subdomains.
I tried to config using php fpm yesterday and reinstalled the Apache but no result.

I love CWP

yeknafar

#5
Quote from: overseer on February 22, 2025, 10:59:24 PM
Can you give a sample directory listing (recacted if necessary)?

Thank you for your answer

How can I do that?
I used lS command:

blog          france                       license.txt  robots.txt       wp-blog-header.php    wp-includes        wp-signup.php
certificate   google5######5.html  mk7zxw.php   students         wp-comments-post.php  wp-links-opml.php  wp-trackback.php
conversation  index.php                    pay          tube             wp-config.php         wp-load.php        xmlrpc.php
course        jadid                        plugin       word             wp-config-sample.php  wp-login.php       yandex_5fe2a###2ea.html
email         learning                     readme.html  wp-activate.php  wp-content            wp-mail.php
exams         level                        report       wp-admin         wp-cron.php           wp-settings.php

Is this useful? It doenot to be recacted?
I love CWP

yeknafar

Brother can It be a security problem? I have scanned CWP many times but no result. In security center I quarantine some things that was found.
I love CWP

cyberspace

The filename mk7zxw.php looks suspicious. Was it uploaded by you ? If no check it because it could be php shell or something like that.

However, you need to check the error logs of the websites to investigate why the error 500 appears. The error logs are located in:
/usr/local/apache/domlogs/DOMAIN.error.log

yeknafar

No I did not uploaded mk7zxw.php
Can I remove it directly? It is 0 bytes.

In /usr/local/apache/domlogs/DOMAIN.error.log
I see subdomains but I am using subfolders. I check them?

(Honestly I have moved from subdomain to subfolder recently but because my application is working on subdomain I keep both of them and to redirect the visitors from old subdomains to subfolders.)
I love CWP

cyberspace

You access the sites through the URLs like:

https://domain.com/folder/
https://sub.domain.com/folder1/folderX/

Right ?

If so then check the error logs of the domains/subdomains you specify in your URLs.

yeknafar

We checked it was not malware. Nothing special found in  /usr/local/apache/domlogs/DOMAIN.error.log 
It is PHP or WordPress plugin. I renamed Theme and plugin folders many times and reinstalled core files too but no result.

I love CWP

overseer

Can you give a full long directory listing:
ls -al /home/username
ls -al /home/username/public_html

So as to see directory permissions...