Open /etc/apache2/apache2.conf and look at the block <Directory /var/www/>. Then change from AllowOverride None to AllowOverride All:
sed -i '/var\/www\//,/Directory>/ s/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf
# apt-get install fake-hwclock
fake-hwclock: Save/restore system clock on machines without working RTC hardware
Some machines don't have a working realtime clock (RTC) unit, or no
driver for the hardware that does exist. fake-hwclock is a simple set
of scripts to save the kernel's current clock periodically (including
at shutdown) and restore it at boot so that the system clock keeps at
least close to realtime. This will stop some of the problems that may
The i486 version should boot on all computers (486 and higher), but is limited to accessing less than 4 GB of RAM.
The i686-pae version works on Intel/AMD 686 and higher computers and includes a Physical Address Extension to permit accessing more than 4 GB of RAM. This version also supports the use of multiple CPU cores.