Enable Apache2 Mod Rewrite on Ubuntu

To enable Apache2 mod rewrite, write the following command on console:
a2enmod rewrite

Edit /etc/apache2/apache2.conf
and search for this code:

<Directory /var/www/html/>
Options Indexes FollowSymLinks
AllowOverride all
Require all granted

Change AllowOverride None to AllowOverride All

And lastly restart Apache:
service apache2 restart

Prevent Virus Spreads on Windows XP by Disabling USB Autoplay

Windows autoplay actually was created to simplify the use of peripheral devices like USB storage devices, memory cards, and MP3 players by running the software needed to access and view the content on these devices automatically.

To prevent virus accessing your computer from USB devices you can stop the autoplay feature by following these steps :

  • Open up windows Run and type gpedit.msc
  • Now choose administrative templates then system on the viewtree.
  • Look to windows column on the right and search for Turn off autoplay, double click it.
  • A new windows will appear, click the enable radio button and select all drives.

And thats it, you are one step more protected from viruses.