LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > Is these the right approach to setting up Rails with custom environment

Reply
 
Thread Tools Display Modes
  #1  
Old 04-17-2007, 10:02 AM
edgar edgar is offline
New Member
 
Join Date: Apr 2007
Posts: 4
Default Is these the right approach to setting up Rails with custom environment

Hi,

I'm a LiteSpeed newbie

I need to configure a rails application using a custom environment (staging)

I follow these instructions:
http://www.litespeedtech.com/support...iki:ruby_rails

The dynamic "part" of the applications works fine, however the "static" parts (CSS, images) are unreacheable.

Playing with the configuration I created a new static context (beside the LSAPI) to deal with the static parts of my RoR application, and I assign to this static context the highest priority.

Now the application works fine, but I'm not sure if that is the right approach

any comments?
Reply With Quote
  #2  
Old 04-17-2007, 10:23 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Yes, it is the right approach.
Reply With Quote
  #3  
Old 04-17-2007, 10:35 AM
edgar edgar is offline
New Member
 
Join Date: Apr 2007
Posts: 4
Thx mistwang
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:07 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.