1. Login to WHM using root
2. Click on Edit "Zone Templates" and then on “standard”
3. Add at the end of the "Zone Templates" file:
%domain%. IN TXT “v=spf1 a mx -all”
You can replace “v=spf1 a mx -all” with the syntax which you want set for your domains
.
4. Repeat step no 2 and 3 respectively for the “simple” zone template.
Also refer following blog to collect more information http://theperfectarts.com/
This blog is basically developed for the web hosting field members who are getting daily problems to sort out the client’s request/problem. I hope they will found out most of the solution on this blog.
Tuesday, September 30, 2008
Add SPF record by default for all new accounts domain
If anyone want to add SPF record by default to newly created account on cPanel server then follow the steps one by one to enable the SPF record.
Monday, September 22, 2008
Enable private PHP Error Logging by using .htaccess file
To hide the PHP errors from visitors insert the following code in .htaccess file
# Disable php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
Once disable the error logs for visitors enable the private PHP error logging by using following code in the .htaccess file
# enable PHP error logging
php_flag log_errors on
php_value error_log /home/path/public_html/domain/PHP_errors.log
The PHP_errors.log file needs to be permission 755 or 777.
Also refer following blog to collect more information http://theperfectarts.com/
# Disable php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
Once disable the error logs for visitors enable the private PHP error logging by using following code in the .htaccess file
# enable PHP error logging
php_flag log_errors on
php_value error_log /home/path/public_html/domain/PHP_errors.log
The PHP_errors.log file needs to be permission 755 or 777.
Also refer following blog to collect more information http://theperfectarts.com/
Subscribe to:
Posts (Atom)