I added this line to “/etc/apache2/sites-available/default” file.
After this I got “Invalid command ‘SCGIMount’, perhaps misspelled or defined by a module not included in the server configuration” error.
If you got this error run this command to enable mod_scgi: $ sudo a2enmod scgi
pi@nsgnc /mnt/T16/rtorrent $ sudo service apache2 restart
Syntax error on line 43 of /etc/apache2/sites-enabled/000-default:
Invalid command 'SCGIMount', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
failed!
pi@nsgnc /mnt/T16/rtorrent $ sudo a2enmod scgi
Enabling module scgi.
To activate the new configuration, you need to run:
service apache2 restart
pi@nsgnc /mnt/T16/rtorrent $ sudo service apache2 restart
[ ok ] Restarting web server: apache2 ... waiting ..
pi@nsgnc /mnt/T16/rtorrent $