Forked mumble-django project from https://bitbucket.org/Svedrin/mumble-django
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
1.0 KiB

#
# This configuration snippet has been donated by Anon in ticket #21 at:
# <http://bitbucket.org/Svedrin/mumble-django/issue/21/fcgi-script-missing>
#
# To run mumble-django, start the FastCGI server like so:
# python pyweb/manage.py runfcgi daemonize=false socket=/tmp/mumble-django.sock maxrequests=1
#
# If lighttpd runs under a different user than the FastCGI daemon, make sure
# lighttpd can access the sockfile.
#
# Then, add this variable to settings.py:
# FORCE_SCRIPT_NAME = ''
#
# Now insert the configuration shown here into lighttpd.conf.
#
server.document-root = "/usr/local/www/mumble-django"
alias.url = (
"/static" => "/usr/local/www/mumble-django/htdocs/",
"/media" => "/usr/local/lib/python2.6/site-packages/django/contrib/admin/media/"
)
url.rewrite-once = (
"^(/media.*)$" => "$1",
"^(/static.*)$" => "$1",
"^(/.*)$" => "/mumble-django.fcgi$1",
)
fastcgi.server = (
"/mumble-django.fcgi" => (
"" => (
"socket" => "/tmp/mumble-django.socket",
"check-local" => "disable"
)
)
)