Solving tech problems

Creating virtual host aliases under Apache

System Administration

Sometimes you want to create folder alias for your website like this: /images to be mapped to /home/your_account/public_html/images. To do this, you need to edit Apache httpd.conf file which is located at /etc/httpd/conf It is clever to put all aliases in one file in the same directory and name them aliases.conf and then only to reference this file from httpd.conf. You will include aliases.conf in httpd.conf like this: <IfModule mod_alias.c>     Include /Applications/MAMP/conf/apache/alias </IfModule> You define alias in aliases.conf file like this: Alias /images /home/your_account/public_html/images <Directory “/home/your_account/public_html/images”>     Options Indexes…read more

Protecting your Linux server from Heartbleed bug

System Administration

I have got at least 20 emails from different sources about OpenSSL vulnerability, known as Heartbleed bug It allows anyone on the Internet to read the memory of the systems protected by the vulnerable versions of the OpenSSL software. More details about this (how to reproduce and fix) can be found here. To check if your server is vulnerable use this online tool. At the end, in order to protect your server’s Linux OS you need to do this few steps: Login through SSL (you can use Putty from Windows)…read more