1. Rick Anderson
  2. Django SL Tools

Overview

HTTPS SSH
Bridging Worlds Real Life and Second Life. An REST API for application access between web services in, out, and between Second Life. A indie RPG adaption of Prime Time Adventures for RL and SL. 


Notes on running django through apache.

LoadModule python_module modules/mod_python.so

# Files needed for the Django admin interface
Alias /media /usr/lib/python2.5/site-packages/django/contrib/admin/media
<Location /media>
    Allow from all
</Location>

<Location "/sltools/">
    Allow from all
    PythonInterpreter sltools
    SetHandler python-program
    PythonPath "['/home/servers/butterflysmack.com/django'] + sys.path"
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE sltools.settings
    #PythonOption django.root /sltools
    PythonDebug On
</Location>

# Javascript for sltools app
Alias /sltools-static/javascript /home/servers/butterflysmack.com/django/sltools/media/javascript

Alias /sltools-static /home/servers/butterflysmack.com/django/sltools/media
<Location /sltools-static>
    Allow from all
</Location>

####################
Then change paths in templates eg. in base.html
<link rel="stylesheet" type="text/css" href="/sltools-static/css/style.css" />

################
#
#Mod WSGI install
#
######
#