:: Apache: Change Prefork MPM to Worker MPM
Posted by blackonsole on May 27th, 2012 01:03 AM | No Comment
:: Determine which MPM running in apache
apachectl -l
if you see worker.c, your apache running worker mpm, if you see prefork.c, apache running prefork.
:: Determine has apache worked mpm compiled
httpd.worker -l
make sure you see worker.c on there.
:: How to change apache ...
:: Configure non www to www in htaccess
Posted by blackonsole on April 17th, 2012 03:00 AM | No Comment
:: How to configure non www to www domain name in htaccess
+ edit .htaccess file
vi .htaccess
+ add these lines:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ //www.%{HTTP_HOST}/$1
:: Links
+ Google
+ Dense13
:: Setup www to non www in .htaccess
Posted by blackonsole on April 16th, 2012 06:54 AM | No Comment
:: How to setup domain name with www redirect to without www in htaccess
+ edit .htaccess file
vi .htaccess
add these line:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.(.*)$
RewriteRule ^(.*)$ //%1/$1
:: Links
+ Google
+ StackOverFlow
:: Enable mod rewrite on Apache
Posted by blackonsole on January 15th, 2012 11:53 PM | No Comment
:: What is Mod_rewrite
Mod_rewrite provides a powerful way to do URL manipulations and made more user friendly, by configuring rewrite rules, rather than modifying the webserver software.
:: How to enable mod_rewrite on apache
:: Installing ioncube loader on Linux
Posted by blackonsole on January 11th, 2012 03:23 AM | No Comment
:: What is ioncube loader
ionCube loader is the PHP extension that decodes encrypted PHP files at runtime. It is freely available and installation is very easy.
:: How to install ioncube loader on linux distro
:: Install mod_evasive on cPanel
Posted by blackonsole on January 10th, 2012 03:41 AM | No Comment
:: What is mod_evasive
mod_evasive is an evasive maneuvers module for Apache to provide evasive action in the event of an HTTP DoS or DDoS attack or brute force attack. - zdziarski
:: How to install mod_evasive on cPanel / WHM
:: Install DBMail Administrator on CentOS
Posted by blackonsole on December 2nd, 2011 10:14 AM | 1 Comment
:: What is DBMA
DBMail is an open source, Unix IMAP/POP3 mail storage and retrieval system which together with an MTA (Mail Transfer Agent) like Postfix enables vastly scalable mail systems with SQL database (RDBMS) storage (i.e.: MySQL, PostgreSQL) and retrieval of all e-mail and user data. - dbma