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:


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

June 1st, 2015 | Tags: | Category: Software | Leave a comment

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/ (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 ProxyPassReverse ProxyPassReverseCookieDomain %{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 […]