Archive for May, 2010

Sort files in current directory by modification time

Posted: 30th May 2010 by Valkyrka in bash

This is how you can list all the files in the current directory, sorting them by modification time :

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 [...]