Invalid command “SSLEngine”, perhaps misspelled or defined by a module not included in the server configuration

If you have bellow error you should install mod_ssl
“Invalid command “SSLEngine”, perhaps misspelled or defined by a module not included in the server configuration”
The error message indicates that the module mod_ssl required to run SSL engine on a CentOS server is missing and needs to be installed.
Install the mod_ssl module using yum

yum install mod_ssl

Once it is installed, make sure to restart the Apache service

service httpd restart

How to Check if Apache is Running Prefork or Worker

Today I want to change some settings on one of my server. But when to change I didn’t know if it’s prefork or worker module at the power of my apache.

So what to tune ?

Well this information is compile in Apache and is not loaded as module.

So if you want to find out what MPM module Apache is running you should run: httpd -l

And the output will be like this:

Compiled in modules:
core.c
mod_authn_file.c
mod_authn_default.c
prefork.c
http_core.c
Hope this will help someone.

mod_auth_mysql Apache with cPanel

Overview:
mod_auth_mysql is an Apache module that allows authentication using user and group data stored in MySQL databases. Originally by Vivek Khera for Apache1, now also includes a version for Apache 2. Official SourceForge Project website http://sourceforge.net/projects/modauthmysql/


Read the rest of this entry »