[Mongrel] trying to add another app

Joey Geiger jgeiger at gmail.com
Mon Dec 18 17:55:04 EST 2006


I think you need to put those directives into the virtual host sections.

You get the error that they will overwrite each other because they do.

On 12/18/06, Patrick Aljord <patcito at gmail.com> wrote:
> ok thanx a lot. I still have an issue though with my alias.
> see, in my app1.com I have this:
>
> ProxyPass /images !
> ProxyPass /stylesheets !
> ProxyPass /javascripts !
>
> Alias /images /home/patcito/railsprojects/app1/public/images
> Alias /stylesheets /home/patcito/railsprojects/app1/public/stylesheets
> Alias /javascripts /home/patcito/railsprojects/app1/public/javascript
>
> and in my app2.common I have that:
> ProxyPass /images !
> ProxyPass /stylesheets !
> ProxyPass /javascripts !
>
> Alias /images /home/patcito/railsprojects/app2/public/images
> Alias /stylesheets /home/patcito/railsprojects/app2/public/stylesheets
> Alias /javascripts /home/patcito/railsprojects/app2/public/javascript
>
> now when I reload apache I get:
> The Alias directive in /etc/apache2/conf.d/app1.common at line 56 will
> probably never match because it overlaps an earlier Alias. and css
> don't get displayed in my app1.com
>
> Any idea how I can fix that?
>
> thanx in advance
>
> Pat
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>


More information about the Mongrel-users mailing list