X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=README.md;h=91013fa6dd90070d4b7a020b95aa157269b8f636;hb=676525652294d9665eb22ee98be35d7e35d81cd7;hp=5ab8fd9f492957d4d810f8ab9f282da2f00ba583;hpb=2813c08ecf795132056e00b3b062cfe301bc747d;p=bluechips.git diff --git a/README.md b/README.md index 5ab8fd9..91013fa 100644 --- a/README.md +++ b/README.md @@ -43,3 +43,32 @@ Tweak the config file as appropriate and then setup the application:: paster setup-app config.ini Host the application behind an authentication layer which sets REMOTE_USER. + +Apache Configuration +-------------------- + +The recommended deployment platform for BlueChips is Apache, mod_wsgi, and any +Apache module which provides authentication. Here is an example vhost +configuration: + + + ServerName bluechips.example.com + + WSGIScriptAlias / /var/www/bluechips.wsgi + + Order deny,allow + Allow from all + + + + AuthType Basic + AuthName "Example BlueChips Site" + AuthUserFile /etc/apache2/passwords + Require valid-user + + + +The ``bluechips.wsgi`` wrapper script looks just like: + + from paste.deploy import loadapp + application = loadapp('config:/var/www/ssl/production.ini')