Category: Apache

Hide PHP Version

To hide the PHP version from HTTP responses, edit /etc/php.ini and change:

to:

Then restart apache.

Read More »

Backported CVEs in httpd-2.2.3-22

For a recent PCI audit remediation project I had to assemble a list of recent CVEs that were resolved via backports in httpd-2.2.3-22 on RHEL5. Here’s the list: https://rhn.redhat.com/errata/RHSA-2008-0008.html CVE-2008-0005 CVE-2007-6422 CVE-2007-6421 CVE-2007-6388 CVE-2007-5000 CVE-2007-4465 https://rhn.redhat.com/errata/RHSA-2008-0967.html CVE-2008-2364 https://rhn.redhat.com/errata/RHSA-2007-0746.html CVE-2007-3847 https://rhn.redhat.com/errata/RHSA-2007-0556.html CVE-2006-5752 CVE-2007-3304 CVE-2007-1863 http://kbase.redhat.com/faq/docs/DOC-9182 CVE-2006-3747 https://rhn.redhat.com/errata/RHSA-2006-0159.html CVE-2005-3357 CVE-2005-3352

Read More »

Activate GZIP compression in Apache

Create a file at /etc/httpd/conf.d/deflate.conf with the following contents:

Read More »

Apache MaxClients

Determine the “max process size”:

will give output like:

Use the largest value in the RSS column. In this case 14768. The number is in KB of memory. Determine MaxClients by dividing the available memory by the max process size. Keep in mind that MySQL and other applications may need some memory. Here’s a one liner to get max per process usage:

Read More »

Convert SSL cert from PK12 to PEM

Here’s the openssl command to convert an SSL cert/key from PK12 (windows) to PEM format:

Read More »

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.