Deluge WebUI 1.3.6 Disable Preference Changes

vim /usr/lib/python2.7/dist-packages/deluge/ui/web/js/deluge-all.js:deluge.preferences.PreferenceWIndow remove these parts:

this.addButton(_(“Apply”),this.onApply,this);this.addButton(_(“Ok”),this.onOk,this)

vim /usr/lib/python2.7/dist-packages/deluge/ui/web/js/deluge-all.js:Deluge.preferences.InterfacePage remove these parts:

Deluge WebUI 1.3.6 Autologin (Disable Password)

You should only consider doing this if you have other security measures in place to prevent access to the interface.

vim /usr/lib/python2.7/dist-packages/deluge/ui/web/js/deluge-all.js:deluge.LoginWindow (near the end, replace the onShow function): onShow:function(){this.onLogin();}

vim /usr/lib/python2.7/dist-packages/deluge/ui/web/auth.py (comment out the if statement and add return True): #if s.hexdigest() == config[“pwd_sha1”]: # return True return True

Deluge WebUI 1.3.6 Apache Proxy Ubuntu 14.04.2 LTS Trusty Tahr

htpasswd -c /var/lib/deluged/apache2_password USERNAME

vim /etc/apache2/sites-enabled/SITECONF: Redirect /deluge https://FQDN/deluge

vim /etc/apache2/sites-enabled/SSL_SITECONF: <IfModule mod_proxy.c> <Location /deluge> AuthType Basic AuthName “Login required” AuthUserFile “/var/lib/deluged/apache2_password” Require user USERNAME ProxyPass http://127.0.0.1:8112/ ProxyPassReverse http://127.0.0.1:8112/ ProxyPassReverseCookieDomain 127.0.0.1 %{HTTP:Host} ProxyPassReverseCookiePath / /deluge/ RequestHeader append X-Deluge-Base “/deluge/” Order allow,deny Allow from all </Location> </IfModule>

vim /etc/init/deluged-web.conf: start on started deluged stop on […]