SSL/TLS Strong Encryption: How-To

https://httpd.apache.org/docs/trunk/ssl/ssl_howto.html # “Modern” configuration, defined by the Mozilla Foundation’s SSL Configuration # Generator as of August 2016. This tool is available at # https://mozilla.github.io/server-side-tls/ssl-config-generator/ SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1 # Many ciphers defined here require a modern version (1.0.1+) of OpenSSL. Some # require OpenSSL 1.1.0, which as of this writing was in pre-release. SSLCipherSuite […]

How to Setup Apache2 (HTTPD) with FastCGI and PHP on CentOS/RHEL 6/5

  yum install mod_fastcgi Loaded plugins: fastestmirror, replace Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.psychz.net * epel: mirror.prgmr.com * extras: mirrors.xmission.com * rpmforge: mirror.webnx.com * updates: mirrors.easynews.com * webtatic: us-east.repo.webtatic.com Resolving Dependencies –> Running transaction check —> Package mod_fastcgi.x86_64 0:2.4.6-2.el5.rf will be installed –> Finished Dependency Resolution Dependencies Resolved […]

mod_fcgid: can’t apply process slot for /usr/local/cpanel/cgi-sys/php5

[Fri Jan 30 10:47:40 2015] [error] mod_hostinglimits:Error on LVE enter: LVE(508) HANDLER(fcgid-script) HOSTNAME(lovetheclassic.com) URL(/index.php) TID(714206) errno (7) Read more: http://e.cloudlinux.com/MHL-E2BIG [Fri Jan 30 10:48:19 2015] [warn] [client 198.50.247.222] mod_fcgid: can’t apply process slot for /usr/local/cpanel/cgi-sys/php5 Also, make sure you monitor apache error logs. If you see “can’t apply process slot for error” — it means […]

Apache tuning

ps aux | awk ‘{sum1 +=$4}; END {print sum1}’ /usr/local/bin/mysqltuner.pl ps -ylC httpd | awk ‘{x += $8;y += 1} END {print “Apache Memory Usage (MB): “x/1024; print “Average Proccess Size (MB): “x/((y-1)*1024)}’ http://diywpblog.com/how-to-work-out-max-clients-for-your-vps-or-dedicated-server-running-apache/comment-page-1/#comment-2393