July 2012 archive

Jul 01

MAX RECIPIENT

By default, it would be 20 in server ie at a time, a user can send single mail to 20 recipients( cc a mail to 20 recipients). you should be able to setup something like this in your /etc/exim.conf for increasing its value: ======= recipients_max = 100 RELAY_RCPT_LIMIT_NUM = 100 =======

Jul 01

MaxRequestLen

Error ===== mod_fcgid: HTTP request length 331621 (so far) exceeds MaxRequestLen (331072) Solution ======== Increase value of parameter MaxRequestLen in /usr/local/apache/conf/includes/post_virtualhost_global.conf

Jul 01

Disable modsecurity for a particular domain

Internal Server error ————————- error log is as follows: ModSecurity: Output filter: Response body too large (over limit of 524288, total not specified). [hostname “domain.com”] [uri “/modules/popnupblog/index.php”] [unique_id “Tu6zGUPeYikAACRZGpQAAAAA”] Solution ———- Make a file “modsecurity_crs_10_config.conf” in /usr/local/apache/conf Add the foll rule to that domain SecRule SERVER_NAME “domain.com” phase:1,nolog,allow,ctl:ruleEngine=off Add the file path in modsec2.conf Include …

Continue reading

Jul 01

Pseudo-random device files are not readable

Make sure permission of  /dev/*random should be 666 Otherwise make the permission to 666. The issue will be solved.

Jul 01

Outlook error (0x800CCC78)

============================= Error —– Sending’ reported error (0x800CCC78) : ‘Cannot send the message. Verify the e-mail address in your account properties. ——————————————————————————————————————— please try this. Go to Tools > Accounts. Select the “Mail” tab. Select your account and press “Properties.” Go to the “Servers” tab, and check “My server requires authentication” under Outgoing Mail Server. Press …

Continue reading

Jul 01

Sample Outlook Configuration – which includes needed checks and avoided unwanted checks.

MS Outlook Express Setup 1. Click on the tools menu then accounts 2. Click Add on the right side at the top and select mail 3. Display Name: Your Name 4. Click Next 5. E-mail Address: email id 6. Click Next 7. My incoming mail server is a POP3 server. 8. Incoming mail server (POP3): …

Continue reading

Jul 01

Installing PCNTL manually in cPanel Server

PCNTL is Process Control support in PHP implements the Unix style of process creation, program execution, signal handling and process termination. Sample Error: when PCNTL requires and it is missing for some accounts ======== Fatal error: Call to undefined function pcntl_fork() in /path/blah.php on line 5 ======== The PCNTL installation option is not available through …

Continue reading

Jul 01

PCRE ERROR

[PCRE – Perl-compatible regular expression library. PCRE has its own native API, but a set of “wrapper” functions that are based on the POSIX API are also supplied in the library libpcreposix. Note that this just provides a POSIX calling interface to PCRE; the regular expressions themselves still follow Perl syntax and semantics. The header …

Continue reading

Jul 01

php.ini wants to be worked individually for a domain when php is configured as FCGI or CGI.

***PHP FCGI Individual php.ini File*** ====================================== 1. Copy and Edit default php.ini ============================= To know the default php.ini –> #php -i | grep php.ini #cd /home/user/public-html/cgi-bin #cp /path/to/default_php.ini /home/user/public_html/cgi-bin #vi php.ini 2. For eg:, As a test change one of the variables like register_globals from: register_globals = Off To register_globals = On 3. Create php.fcgi …

Continue reading

Jul 01

Some Redirect rules – really helpful ones

Redirect www to non-www: ======================== RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www.yourdomain.com [NC] RewriteRule ^(.*)$ http://yourdomain.com/$1 [L,R=301] Redirect non-www to www: ======================= RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^yourdomain.com [NC] RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301] Redirect main site to subdirectory ================================== RewriteEngine on RewriteCond %{HTTP_HOST} ^hotelespara2.co.com$ RewriteRule (.*) http://www.hotelespara2.co.com/$1 [R=301,L] RewriteRule ^$ blog/home/ [L] Another one …

Continue reading