Archive for the ‘apache’ Category

Upgrading PHP to 5.2.x on CentOS 5

Posted: 15th April 2012 by Valkyrka in apache, tips & tricks

CentOS 5 comes by default with PHP version 5.1.6 and MySQL 5.0. Here's how you can upgrade to version 5.2.17 using a 3rd party repo. I have been using the Atomic repository for a while now and the RPMs are well built : echo "exclude=php*5.3*" >> /etc/yum.conf rpm -ivh http://www6.atomicorp.com/channels/atomic/centos/5/i386/RPMS/atomic-r$ yum update php* mysql* -y [...]

Check the validity of your ssl certificates

Posted: 27th May 2010 by BritishSongWriter in apache, bash, cyrus, dovecot, postfix

With this command you can check the validity period of your generated certificates (apache, postfix, dovecot, cyrus, etc ). Example: Encrypted certificate Content of the certificate decrypted:

Password protect web directories

Posted: 23rd May 2010 by Valkyrka in apache

Here is how you can password protect web directories using Apache. First, you would need to make sure that Apache allows the use of .htaccess. This can be simply done by changing the following directive : As you can see, mine is already set to 'All'. After you have set AllowOverride to All, reload Apache [...]