logo       

Re: Update for thread: Multiple rails apps with Mongrel: msg#00210

lang.ruby.mongrel.general

Subject: Re: Update for thread: Multiple rails apps with Mongrel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks to all involved with Mongrel.

Hi Tony,

This appears to clear up a lot of issues I have regarding how to setup a
box with the configuration below. Thanks. That being said, I have a
question.

About my deployment:
Debian, Apache 2.2, Mongrel Cluster 0.2.1 (3 mongrels per app), mongrel
1.0.1. At this time, I have a test app lives in /var/www/rails/app1

I am able to see the app1 configuring mongrel with the --prefix options
following your instructions. However, I can not see the /images
directories since the code has references to /images/foo.png

I suspect the issue is with Apache. In the apache config I have an
/images alias:

Alias /images /var/www/rails/app1/current/public/images

I also have a /stylesheets alias which appears to be working.

There was talk in the list:
http://rubyforge.org/pipermail/mongrel-users/2006-September/001534.html
this does not seem right given the fact I am using mongrel_cluster.

I could easily change the links, and image references but that seems
kludgy. My goal here is to not break the 'mongrel_rails start'
development feature from the local copy and have the deployment
enviroment (Apache) handle the site specific stuff.

I am confused between using ProxyPass or a rewrite rule given this
deployment. Any help you can provide would be appreciated.

Thanks everyone!

Regards,

Josh Richard
University of Minnesota Duluth, MN USA

Tony Rose wrote:
> Hi,
>
> I found another way to throw multiple rails apps under a single
> domain like:
>
> http://www.domain.com/app1
> http://www.domain.com/app2
>
> changes here...
>
> http://tonyrose023.blogspot.com/2007/01/multiple-rails-apps-with-
> mongrel.html
>
> Tony
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users-GrnCvJ7WPxnNLxjTenLetw@xxxxxxxxxxxxxxxx
> http://rubyforge.org/mailman/listinfo/mongrel-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFv60YtK+gf29TyJQRAizlAJ9OyKqexTrJwjBF+wcW6FPkdmJI2ACfbXhO
7JP9oeJ2kFE1SAriYZu0k28=
=5Rgr
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise