Re: sqlite3 connection problem

2009-05-19 Thread Magnus Holm
In order to create the necessary tables you'll have to run Blogtiny::Models.create_schema. The prefered way is define a create-method like this: def Blogtiny.create Blogtiny::Models.create_schema end All servers or setups using Camping should then call Blogtiny.create on startup after the app

Re: using redirect with a mongrel server behind apache

2009-05-19 Thread David Susco
Within an apache vhost I'm rewriting like this: IfModule mod_rewrite.c RewriteEngine On RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ http://127.0.0.1:5000/$1 [P,QSA,L] /IfModule I haven't gotten to deployment yet, so I'm not sure if this is