Fix rtorrent rutorrent Apache 2.4 Failed to Start Error

rtorrent_logoI was testing my guides here to make sure they work with updated packages. For both Ubuntu and Debian the current auto install scripts for rtorrent and rutorrent fail at the very end. This is because of the apache 2.4.1 update which relocated the /var/www folder to /var/www/html, confusing web admins everywhere no doubt. To solve this we need to relocate the rutorrent folder.

Fix rtorrent rutorrent Apache 2.4 Failed to Start Error

Apache 2.4.1 moved the /var/www directory so rutorrent fails to register. You need to move the /var/www/rutorrent folder to /var/www/html/rutorrent

sudo cp -a /var/www/rutorrent /var/www/html

Then restart apache

sudo service apache2 restart

This will solve the apache2 fails to stat error for rutorrent.
You can now access the installation at http://ip.address/rutorrent