Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

How to do this in cherokee

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


psykosnake at onlinehome

Oct 1, 2009, 9:16 AM

Post #1 of 1 (263 views)
Permalink
How to do this in cherokee

Hello,
i this is about the deluge webui.
Normal it is started like the cherokee weadmin into an port but i want
to have it into an forlder like /var/www/deluge/
Here its explained how to do it into apache but i dont know how to port
that into cherokee. Link :
http://forum.deluge-torrent.org/viewtopic.php?f=8&t=4075
Here its just what they wrote:

deluge_apache_config.py

Code: Select all <http://forum.deluge-torrent.org/viewtopic.php?f=8&t=4075#>

#config ; EDIT THIS
CONFIG_DIR = '/home/martijn/.config/deluge' #No trailing slashes.
BASE_URL = '/deluge' #the apache url /No trailing slashes.
#/config

#Do not edit this:
from deluge.ui.webui import apache
application = apache.get_wsgi_application(BASE_URL, CONFIG_DIR)|

/etc/apache2/apache2.conf

Code: Select all <http://forum.deluge-torrent.org/viewtopic.php?f=8&t=4075#>
# WSGIRestrictStdout must be Off , this will be fixed, eventually...
# deluge only supports 1 process, but you are free to configure the
number of threads.
# more info:
# http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives

WSGIRestrictStdout Off
WSGIProcessGroup deluge
WSGIDaemonProcess deluge processes=1 threads=25
Alias /deluge/static/
/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/static/
WSGIScriptAliasMatch ^/deluge/(.*)
/home/martijn/prj/WebUi/scripts/deluge_apache_config.py/$1
|



Note: make sure that the config-dir is writable by the webserver-process
(configuring the wsgi daemon user is left as an exersize to the reader)
tail /var/log/apache2/error.log when you're encountering problems.
dev: webui, core, labels | irc:vonck7 |

Maybe this is also done over fastcgi but im not sure and i dont want to
try around since my cherokee runs so nice at the moment :P
Maybe someone knows a solution :)







_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.