How to know SpamAssassin version
Run:
/usr/local/cpanel/3rdparty/bin/spamassassin --version
Output:
SpamAssassin version 3.4.1 running on Perl version 5.26.0
… Read the rest
Notes
Run:
/usr/local/cpanel/3rdparty/bin/spamassassin --version
Output:
SpamAssassin version 3.4.1 running on Perl version 5.26.0
… Read the rest
Traceroute to IP address
nmap -sn --traceroute remoteipaddress
Traceroute to port
nmap -Pn --traceroute -p 443 remoteipaddress
Output:
PORT STATE SERVICE
443/tcp open https
Open means its ok
PORT STATE SERVICE
443/tcp filtered https
Filtered means that a firewall or some filtering or other network issue is covering the port and preventing nmap from determining if the port is open.… Read the rest
Edit values if needed and appended into wp-config.php file
ini_set('post_max_size', 100000); ini_set('upload_max_filesize', 100000); ini_set('max_input_time', 100000); ini_set('memory_limit','1024M'); // the same as define('WP_MEMORY_LIMIT', '1024M'); set_time_limit(300); ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL);… Read the rest
You will need to edit domain name using the following and append it into your wp-config.php file
define('WP_SITEURL', 'https://www.example.com'); define('WP_HOME', 'https://www.example.com'); define('FORCE_SSL_ADMIN', true); define('FORCE_SSL_LOGIN', true); if( isset($_SERVER['HTTP_CF_VISITOR']) && strpos($_SERVER['HTTP_CF_VISITOR'], 'https') ) $_SERVER['HTTPS']='on';… Read the rest
Allow uploading not registered files
define('ALLOW_UNFILTERED_UPLOADS', true);
Disable All Updates
define( 'AUTOMATIC_UPDATER_DISABLED', true );
To enable automatic updates
define( 'WP_AUTO_UPDATE_CORE', true );
WP_SITEURL
define( 'WP_SITEURL', 'http://example.com/wordpress' );
WP_HOME
define( 'WP_HOME', 'http://example.com/wordpress' );
Disable the cron entirely by setting DISABLE_WP_CRON to true.… Read the rest
Error: Your system or network configuration does not allow Drupal to access web pages. This could be due to your webserver configuration or PHP settings.
Fix:
admin/config/development/httprl
https://DOMAINNAME.COM/admin/config/development/httprl
IP Address to send all self server requests to -1 to use hostname instead of IP address… Read the rest
roxterm no longer exist in debian pkg
Download and install roxterm using source below
http://roxterm.sourceforge.net/index.php?page=installation&lang=en
git clone git://git.code.sf.net/p/roxterm/code roxterm cd roxterm
Install python if needed:
sudo apt install python
You may skip below three steps and install and install dependencies firstly
sudo python ./mscript.py… Read the rest
Server's logs where you can see 404 not found error
"GET /xml-api/suspendacct?user=hiden&reason=test HTTP/1.1" 404 0 "-" "-" "a" "-" 2087 "GET /xml-api/suspendacct?user=hiden&reason=test HTTP/1.1" 404 0 "-" "-" "a" "-" 2087 "GET /xml-api/suspendacct?user=hiden&reason=test HTTP/1.1" 404 0 "-" "-" "a" "-" 2087
The cause of this usually outdated WHMCS version
Support for the XML-like output of our API was removed from the product in cPanel & WHM version 74:
Removed XML output in API functions
In cPanel & WHM version 74, we removed the Extensible Markup Language (XML) output format from all of our API functions.… Read the rest
cPanel documentation
https://documentation.cpanel.net/display/CKB/How+to+Set+Up+iOS+Push+Notifications
APNSPush needs to be enabled via cPanel –> Service Manager
Check process list:
pgrep p0f
Outgoing TCP port 2195 needs be enabled
To verify:
curl -v telnet://gateway.sandbox.push.apple.com:2195
Output:
* Rebuilt URL to: telnet://gateway.sandbox.push.apple.com:2195/
* Trying 17.188.166.23…
* TCP_NODELAY set
* Connected to gateway.sandbox.push.apple.com… Read the rest