Software Freedom Conservancy's Website
Previously, SSL on sfconservancy.org was supported using a self-signed cert only to handle the /admin/ portion of the site. Now that SSL is supported site-wide, and perfectly mirrors the content available via HTTP, the conservancy_ssl middleware, URLs, and settings are wholly deprecated and herein removed. The main site's urls.py now need adjusting to support /admin/, but additional code is needed in middleware.py to avoid accidentally serving /admin/ via HTTP instead of HTTPS. The latter code is untested; hopefully it works "out of the box". :) |
||
|---|---|---|
| apache2/sites-available | ||
| cron/cron.monthly | ||
| www | ||
| .gitignore | ||
| AGPLv3 | ||
| CC-By-SA-3.0 | ||
| compile-all.py | ||
| ISC_LICENSE | ||
| README | ||
SERVER CONFIGURATION
====================
conservancy's webserver runs on a machine called
dogwood.sfconservancy.org, which is a standard Debian installation.
The following packages are installed to make Django and Apache work on a
squeeze install:
$ aptitude install python-django apache2 sqlite3 python2.5-sqlite libapache2-mod-python
DJANGO SETUP
============
0. Make sure the Python module 'djangopw', with the global variable
'djangoadmin_password' is somewhere importable in the default
PYTHON_PATH.