Mongrel 0.3.13.4 Pre-Release

Posted by Corban Brook Sun, 30 Jul 2006 16:55:00 GMT

Mongrel 0.3.13.4 Pre-Release is out and now it supports an option for prefixing your rails applications into sub directories.

“A new—prefix command line option for people who want to mount their rails app at a different base URI.”

This means you can now run rails applications from within a sub directory off the webroot easily and without broken paths.

Note: I have tested this with a collaboa install in a sub dir, like: http://www.domain.com/collaboa and it works without a hitch.

Posted by Zed Shaw (Sat, 15 Jul 2006 16:13:26 -0700)

Hello Everyone,

This is a short announce to get people to try the 0.3.13.4 pre-release
with their applications.  This release features a few things that folks
have asked for, and a backport of an enhancement from the 0.4 release
coming later.

The features are:

1) A new --prefix command line option for people who want to mount their
rails app at a different base URI.  Thanks to Scott for the initial
push.
2) Fixes for the upcoming upload progress support (from Rick).
3) Pound documentation changes (MUST READ if you use pound).
4) Fix for a very rare case where the GC can cause a segfault
theoretically.

Everyone should test this release out, and I'll be thrashing it with
RFuzz this weekend to do a release tomorrow night.

This will also be the last release before 0.4 Enterprise Edition 1.2.
All my work from now on will go to the EE release unless there's a major
security hole or bug.

Installation

To get the pre-release gem simply point your gem install at the mongrel releases source url, like so:

sudo gem install mongrel --source http://mongrel.rubyforge.org/releases

Usage

Start your mongrel server with the —prefix /path option, ex:

mongrel_rails start -d -e production -p 4000 --prefix /blog

Now you can access your application at http://localhost:4000/blog

Proxying from Apache

2 proxy rules will get you up and running:

ProxyPass /blog http://localhost:4000/blog
ProxyReversePass /blog http://localhost:4000/blog

I have tested this method with Collaboa and Typo 4.0

Easy, peasy, lemon-squeezy.

Posted in ,  | no comments | no trackbacks

Trackbacks: 0

Use the following link to trackback from your own site: http://schf.uc.org/articles/trackback/13

Comments: 0

Leave a response | RSS feed for this post

Leave a response

Toggle website and email fields