Welcome Guest | Login

Static Pages

Have rewritten all the important parts (storefront) of an existing website into ruby.  There are a lot of static historical pages that I would like to also have access to on the site.

Can static pages be served up while running under mongrel?  I think I have the impression that they can not?

If so, can someone give me a pointer as to the simplest way to do this.  Don't need another domain or sub just want to transfer and present existing pages from the old website.

Thanks

2008-03-08 05:31 AM

Bud -

As you might already know, Mongrel isn't good at serving static pages. You need to get appropriate Apache re-write rules in place so it won't proxy the static pages to mongrel. This could get a little tricky depending up on your app but worth giving it a try.  

2008-03-08 07:47 AM

Thanks for the info - will poke around the rewrites and see if I can make that work.

2008-03-09 06:54 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.