Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close
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
#
######
#



Recent activity

Nothing to see here, move along.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.