From 4152cefbf1f239aec72f1bef35469c38c0ee2d27 Mon Sep 17 00:00:00 2001 From: Wlodek Bzyl Date: Tue, 2 Jun 2009 00:07:43 +0200 Subject: [PATCH] Ready first version of reusable apps dispatching. --- README.markdown | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/README.markdown b/README.markdown index cc3417b..ced551a 100644 --- a/README.markdown +++ b/README.markdown @@ -153,23 +153,27 @@ dispatches these applications to `/summer` and `/rsummer` sub URI. run Sinatra::Winter.new end -This rackup file could be used to deploy to virtual host's root. +This rackup file could be used to deploy to virtual host's root: ServerName hitch.local DocumentRoot /srv/www/hitch.local -Creating required by Passenger directories: +To this end, create directories required by Passenger: - mkdir /srv/www/hitch.local/{public,tmp} + mkdir /srv/www/hitch.local/{public,tmp} -and moving `config.ru` into `/srv/www/hitch.local`. +and move `config.ru` into `/srv/www/hitch.local`. -With everything in place, after restarting Apache2 the applications -are accessible from the +With everything in place, after restarting Apache2, +the applications are accessible from the - http://hitch.local/summer http://hitch.local/winter + http://hitch.local/summer + +and + + http://hitch.local/winter respectively.