Ben's Pro Tips

Tech Tips Made Easy

Category Archives: Apache Tips

Tips on running and configuring your Apache web server for optimum performance and reliability.

Apache: The SSLCertificateChainFile directive is deprecated, SSLCertificateFile should be used instead

Getting the above warning message when starting your Apache service? The SSLCertificateChainFile directive (/etc/apache2/sites-enabled/xxx.conf:42) is deprecated, SSLCertificateFile should be used instead Fortunately it’s an easy fix. First back up your existing Apache config and certificate files. Edit the specified conf … Continue reading

April 12, 2014 Apache Tips, Linux Server Tips

Apache 2 error: Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}

Had this one crop up today when debugging an apache config problem. In a moment of non-clarity (ok, stupidity) I tried running apache2 directly hoping to see the error preventing the service from restarting. The common cause of this error … Continue reading

Apache Tips, Linux Server Tips

How to tell if Apache is running MPM, Prefork, or Worker module

When configuring Apache for performance, you’ll almost definitely find a need to alter the default MaxClients, StartServers, MinSpareServers, etc settings. Pop open your apache2.conf (or httpd.conf) and … wait a sec, which one is it? The default setting here can vary … Continue reading

February 19, 2014 Apache Tips, Linux Server Tips apache2, apache2.conf, apachectl, config file, httpd.conf, module, mpm, performance, prefork, tuning, web server

Is your Apache server slow as molasses? Check your KeepAlive setting!

Your Apache KeepAlive setting or MaxRequestsPerChild setting might be killing your server’s performance Continue reading

January 29, 2011 Apache Tips, Linux Server Tips

Apache Error: “Invalid command ‘ExpiresDefault’”

Need help fixing the error: “Invalid command ‘ExpiresDefault’, perhaps misspelled or defined by a module not included in the server configuration, referer: http://xxxxxx” ? Continue reading

January 28, 2011 Apache Tips, Linux Server Tips

Apache Error: “Invalid command ‘ExpiresActive’”

Fix the 500 internal server error caused by “Invalid command ‘ExpiresActive’, perhaps misspelled or defined by a module not included in the server configuration, referer: http://xxxxxxx” Continue reading

Apache Tips, Linux Server Tips

Apache Error: “Invalid command ‘header’”

Solve the annoying 500 error caused by: Invalid command ‘Header’, perhaps misspelled or defined by a module not included in the server configuration, referer: http://xxxxx Continue reading

Apache Tips, Linux Server Tips