Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Standalone Passenger configuration, Production DB
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Philip Rhoades  
View profile  
 More options Aug 30 2011, 2:23 pm
From: Philip Rhoades <p...@pricom.com.au>
Date: Wed, 31 Aug 2011 05:23:27 +1100
Local: Tues, Aug 30 2011 2:23 pm
Subject: Standalone Passenger configuration, Production DB
People,

I have a demo BCMS setup running happily with Webrick but need to use a
Standalone Passenger configuration so that I don't cause problems with
other, older Ruby/Rails apps.  I have almost got it working but the
pages are losing their style sheets or something.  I start the
standalone Passenger in the BCMS root dir with:

   passenger start -a 127.0.0.1 -p 3000 -d

and in /etc/httpd/conf/httpd.conf I have:

<VirtualHost *:80>
   ServerAdmin p...@pricom.com.au
   ServerName gateway.pricom.com.au
   DocumentRoot /var/www/html
   ProxyPass /tbcms2/ http://127.0.0.1:3000
   ProxyPassReverse /tbcms2/ http://127.0.0.1:3000
</VirtualHost>

which almost works but the style sheets are not being used for some
reason?

Also, I tried to run:

   RAILS_ENV=production rake db:migrate

to create a production DB but it didn't work - how do I change the
setup for production mode?

Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW    2001
Australia
E-mail:  p...@pricom.com.au


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.