okay but how to forward the port ?
I'm a noob on routing...
1.0 WebUi
Re: 1.0 WebUi
- Go to http://portforward.com/
- Select your router
- Choose "default guide"
- Enter 8112 for the port to be forwarded
Re: 1.0 WebUi
Hi, did anyone make it work with 1.2 webui?
A lot of things have changed, and proxypass doesn't work either...
Thanks,
Christophe.
A lot of things have changed, and proxypass doesn't work either...
Thanks,
Christophe.
Re: 1.0 WebUi
Make what work exactly?
Re: 1.0 WebUi
Hi damoxc,
Make mod_wsgi work with deluge and apache so that I can get access to deluge webui through http://myserver/deluge/.
I tried with proxypass on apache but had no success, so I guessed it could work with wsgi but didn't succeed either.
Thanks for your help.
Make mod_wsgi work with deluge and apache so that I can get access to deluge webui through http://myserver/deluge/.
I tried with proxypass on apache but had no success, so I guessed it could work with wsgi but didn't succeed either.
Thanks for your help.
Re: 1.0 WebUi
I don't know about the 1.1.x webui but I know for definite that the 1.2 webui won't work with mod_wsgi since it uses twisteds own webserver so you'll have to use mod_proxy for it.
Re: 1.0 WebUi
I have ues WebUI in 1 day and father this I got this error: http://pastebin.ca/1685813
Nothing in Deluge is edited.
Nothing in Deluge is edited.
Re: 1.0 WebUi
Hello everyone. This post was useful when configuring my deluge GUI interface to work as a virtual host with Apache, but some things are a little out-dated. Here's a more up-to-date version of the files I used.
Instead of deluge_apache_config.py, I renamed the file to apache.py, I don't like long filenames
/data/www/torrents/apache.py
/etc/apache2/sites-available/torrents.domain
How to configure virtual hosts is beyond the scope of this post, but if you want to configure your host in a subdirectory, as the previous post did, just change BASE_URL in apache.py to that subdirectory, change WSGIScriptAliasMatch to
and remove the <VirtualHost> open and close tags. Then just paste the rest to /etc/apache2/httpd.conf (to all Apache gurus out there: am I missing something?)
Technical Notes
The problem I had with the previous files was that in version 1.1.9 (latest) of deluge-webui (Ubuntu) deluge.ui.webui.apache used in deluge_apache_config.py is out-dated (you can find that code at /usr/lib/pymodules/python2.6/deluge/ui/webui/apache.py). It attempts to substitute common.get_config_dir from deluge.common but that's not the name of the function anymore, it is now called get_default_config_dir. Also, the original deluge/ui/webui/apache.py always used /deluge as a subdirectory, so no matter what you tried to change BASE_URL to, it would always be /deluge.
Instead of deluge_apache_config.py, I renamed the file to apache.py, I don't like long filenames

/data/www/torrents/apache.py
Code: Select all
#!/usr/bin/env python
#config ; EDIT THIS
CONFIG_DIR = '/data/config/deluge' #No trailing slashes. You can change to /home/user/.config/deluge or wherever you have your deluge settings
BASE_URL = '' #the apache url /No trailing slashes. I am using a virtual host, so the base is the root
#/config
#Do not edit this:
import os
def get_wsgi_application(base_url, config_dir):
#replace default configuration directory
from deluge import common
def get_config_dir(filename = ""):
return os.path.join(config_dir, filename)
common.get_default_config_dir = get_config_dir
#load configuration
from deluge.configmanager import ConfigManager
from deluge.ui.webui import deluge_webserver
from deluge.ui.webui import utils
config = ConfigManager("webui06.conf")
utils.set_config_defaults()
#set new base url
config['base'] = base_url
config['disallow'] = {
'/daemon/control':'running as an apache user',
'/config/server':'running as an apache-user'
}
utils.apply_config()
#run application
return deluge_webserver.WsgiApplication()
application = get_wsgi_application(BASE_URL, CONFIG_DIR)
Code: Select all
<VirtualHost *>
ServerName torrents.domain
WSGIProcessGroup deluge
WSGIDaemonProcess deluge processes=1 threads=25
WSGIScriptAliasMatch ^/(.*) /data/www/torrents/apache.py/$1
</VirtualHost>
Code: Select all
WSGIScriptAliasMatch ^/subdirectory/(.*) /data/www/torrents/apache.py/$1
Technical Notes
The problem I had with the previous files was that in version 1.1.9 (latest) of deluge-webui (Ubuntu) deluge.ui.webui.apache used in deluge_apache_config.py is out-dated (you can find that code at /usr/lib/pymodules/python2.6/deluge/ui/webui/apache.py). It attempts to substitute common.get_config_dir from deluge.common but that's not the name of the function anymore, it is now called get_default_config_dir. Also, the original deluge/ui/webui/apache.py always used /deluge as a subdirectory, so no matter what you tried to change BASE_URL to, it would always be /deluge.
Re: 1.0 WebUi
What is Open delugew2.cmd ???
Re: 1.0 WebUi
This topic is obsolete...