Archive for August, 2011

SBDavid

cPanel Security Tokens

cPanel Security Tokens

cPanel have added numerous security features to cPanel/WHM 11.25. cPanel security token system attempts to prevent cross-site request forgery (XSRF) attacks by appending URLs with a session token in the form of cpsess[number].

When this feature is enabled, absolute URLs are no longer allowed. This new feature helps to ensure a safe environment.

cPanel Version 11.25 XML API Functions

Version 11.25 adds 16 new XML API functions to better integrate cPanel/WHM with custom software.

New API functions:

View information about a domain
Add a DNS zone record
Edit a DNS zone record
View all DNS zone records for a domain
Remove a DNS zone record
Reset a DNS zone record to the settings found in httpd.conf
Assign a reseller IP addresses
Set reseller limits
Set a reseller’s main IP address
Define reseller packages
Suspend a reseller’s account
Unsuspend a reseller’s account
View information about a reseller’s accounts
Define a reseller’s nameservers
Configure a service
Change the IP address of a domain

SBDavid

Modify Apache default success page

Modify Apache default success page

To modify the apache default success page, follow the steps below:

We just have to login to your server via ssh. Navigate to /usr/local/apache/htdocs
cd /usr/local/apache/htdocs And finally edit the file index.html nano index.html

Installing or Updating PostgreSQL on Your cPanel & WHM Server

cPanel & WHM works with PostgreSQL 7.3.x or later.

Using the command line interface, log into your server as root.

If you have PostgreSQL 7.2.x installed, back up your databases using pg_dumpall or some other method. If you have databases you wish to keep, move your existing PostgreSQL data directory somewhere else by, for example, typing the following command.

mv /var/lib/pgsql /var/lib/pgsql.old

To begin the installation process:

On a CentOS or RedHat system, use the following script:

/scripts/installpostgres

This script executes yum install postgresql (and related RPMs).

SBDavid

Cpanellogd Overview

Cpanellogd Overview.

WHM/cPanel processing related to the domain logs and bandwidth logs for Accounts, as well as service level logs for cPanel™ and Apache managed by the cpanellogd daemon. cpanellogd, in all versions of WHM/cPanel, is responsible for tracking log file size, rotation and parsing frequency. Any utility available to affect cpanellogd’s behavior is exposed in the web interface as a value field, checkbox, or note for custom configuration.

WHM/cPanel processing related to the domain logs and bandwidth logs for Accounts, as well as service level logs for cPanel™ and Apache managed by the cpanellogd daemon. cpanellogd, in all versions of WHM/cPanel, is responsible for tracking log file size, rotation and parsing frequency. Any utility available to affect cpanellogd’s behavior is exposed in the web interface as a value field, checkbox, or note for custom configuration.

Next »