CentOS5 and PHP52 upgrade rpms
We encounter many scenarios where using the latest version of PHP is required. No great way, aside from downloading the PHP5 source and compiling, is available. That is, until you discover then IUS Community Project.
Read moreSecuring your Linux server
We deal with security related issues nearly every day. Many of these issues could be prevented with a few minor changes to php.ini along with the installation of mod_security. It is simply amazing how many machines are hacked, and then used for the sole purpose of sending spam, denial of service (DoS) attacks or Botnets.
Read moreHTTP to HTTPS via mod_rewrite
To redirect a website from http -> https I utilized mod_rewrite. And created a .htaccess file with the following contents. $ cat .htaccess Options FollowSymLinks RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*) https://your_server.com/$1 This can be useful if you need to ensure all access to your site, is done via HTTPS.
Read moreRemoving a passphrase from an SSL Key
The typical process for creating an SSL certificate is as follows: # openssl genrsa -des3 -out www.key 2048 Note: When creating the key, you can avoid entering the initial passphrase altogether using: # openssl genrsa -out www.key 2048 At this point it is asking for a PASS PHRASE (which I will describe how to remove): [...]
Read more