trouble activating a site with passenger & apache

0 views
Skip to first unread message

Psousa

unread,
May 21, 2009, 12:23:44 PM5/21/09
to Ubuntu Machine
hey,

first of all, let me congratulate on this amazing project, a real life
saver.

anyway, I've used it to install a fresh vps on slicehost (ubuntu
8.10), so I ran:
$ cap machine:initial_setup
$ cap machine:configure
$ cap machine:install_dev_tools

after that, I deployed my app via capistrano's
$ cap deploy

and I created a site on apache and enabled it.
$ sudo a2dissite mysite


the thing is... it wasn't working, it always showed the default site
("it works").

So after alot of messing around, I disabled the default site and I
installed apache's mod rewrite:
$ sudo a2enmod rewrite

and the site started working...

so, I was a little confused, I dont know If I messed up a step in the
middle, if it's normal that I should install mod rewrite for apache or
if this could all be simplified somehow.

Thomas Balthazar

unread,
May 21, 2009, 12:27:17 PM5/21/09
to ubuntu-...@googlegroups.com
Hi,

Thanks for your feedback.

After you've run :

> $ cap machine:initial_setup
> $ cap machine:configure
> $ cap machine:install_dev_tools


just run :
$ cap apache:create_website

to create a Website, and maybe run :
$ cap mysql:create_database
to create the corresponding database.

This should do the trick.

Please let me know,
Best,
Thomas.
Reply all
Reply to author
Forward
0 new messages