High page speed and short page load times of your website are essential for good search engine rankings today. In this FAQ, I will show you how to enable caching of graphic and CSS files in apache on Ubuntu and Debian.
The first step is to enable the expires module in apache:
a2enmod headers expires
This module allows the apache web server to set HTTP headers, in this case, to set the modification header for static assets like image and CSS files that don't change often.
Add the following config snippet inside the vhost file of the web site or at the end of the file /etc/apache2/apache2.conf to enable it globally.
Header set Cache-Control "max-age=3024000, public"
Finally reload apache to apply the configuration change.
service apache2 reload
On ISPConfig 3 servers, the snippet can be added in the "Apache Directives" field of the website instead. There is no apache reload required as ISPConfig takes care about that.
You like to get a clear view of your filesystem to find the files and folders that take up all the space on the hard drive? Then WinDirStat is the right tool for you, it is a free (OpenSource) program that has been originally developed under the name KDirStat for the Linux KDE Desktop.
Continue reading How to visualize file system usage on Windows
There can be many possible scenarios when you would have deleted some of your important iPhone data intentionally or accidentally. And later on, you require getting them back. So, always be cautious while performing any operation with your iPhone data as an incorrect operation can make you face drastic data loss situations. Data loss may also happen due to several other reasons like: Virus attack, some conflicting app installed in your phone, incorrect user operations, software/hardware issues, formatting/resetting the device, device corruption etc.
Continue reading How to recover iPhone Photos from iCloud After Permanent Deletion?
You have a laptop and want to use it as a second monitor to mirror or extend your Windows Desktop? Here are some options for the different Windows versions.
Continue reading How to use a Laptop as second Monitor on Windows
Today I will outline the options to kill an unresponsive OpenVZ container.
Continue reading How to kill an OpenVZ Container?
Jailkit is an easy to use tool to create and maintain jail environments for shell users on Linux. In this guide, I will show you how to move PHP and its dependencies into the jail so that the jailed user can execute PHP scripts inside the jail.
Continue reading How to add PHP support for jailed SSH users in ISPConfig 3
Sometimes you might want to download an entire website e.g. to archive it or read it offline. This tutorial will show you which application can be used on Windows and Linux.
Continue reading How can I download an entire website?
The bash history is a log file that contains all commands that the user executed on the Linux shell. When you use the "arrow up" key on our keyboard, then Bash will look up the previous command from that file and display it on the screen, ready to be executed again.
Continue reading How to clear Bash history on Linux?
Here are the steps that need to be taken to change the ID of an OpenVZ Container. OpenVZ is a virtualization technology for Linux.
Continue reading How to change the ID of an OpenVZ Container
OpenVZ is a Linux based Kernel virtualization technology developed by SWSoft for its commercial product Virtuozzo. The modified Linux Kernel and the system utilities are released under an OpenSource license. Vzdump is a shell based backup program for OpenVZ virtual machines. It is made for containers that use the traditional "simfs" filesystem, it can not be used for containers with "ploop" filesystem.
Continue reading How to Backup OpenVZ Containers with vzdump on CentOS 6