It should be pretty easy to upgrade to Apache 2.2.
This article was quite helpful for getting 2.2 up (on Debian/Ubuntu at
least).
Setting up Apache
http://davidwinter.me.uk/articles/2006/10/17/building-apache-22-from-source-for-ubuntu-dapper/
I referenced these for setup as well.
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/
http://mongrel.rubyforge.org/docs/mongrel_cluster.html
http://www.simplisticcomplexity.com/2006/8/13/apache-2-2-mod*proxy*
balancer-mongrel-on-ubuntu-6-06
Hope this helps.
Cheers,
Dallas
On 12/15/06, Nathan Mealey <nathan.mealey at simmons.edu>
wrote:>
> I''m running Apache 2.0 as a proxy to several Mongrel/Rails apps,
so that
> all of my Mongrel apps can be routed through the single Apache IP address.
> Apache 2.0 is already in use on the system, which is why I haven''t
decided
> to use Apache 2.2.
>
>
>
> The problem I''m having is that this setup only works for Rails
apps that
> do not use the public/index.html file as the main page. For any apps that
do
> use public/index.html as the main page, none of the links off of
> index.html work. So no stylesheet info, no images, and no links to other
> parts of the application. Even though I''ve installed the
reverse_proxy_fix
> plugin.
>
> The tutorial from here (
>
http://www.napcsweb.com/howto/rails/deployment/RailsWithApacheAndMong...<http://www.napcsweb.com/howto/rails/deployment/RailsWithApacheAndMongrel.pdf>)
> didn''t cover this type of error, and I''ve been stuck
fiddling with it for a
> while.
>
> Has anyone else had this problem and resolved it?
>
> Any help is much appreciated. My httpd-proxy.conf file is included below:
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
> ProxyRequests Off
>
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
>
> #Proxy information for project application
> Alias /project "e:/rails_apps/project/public"
> <Directory "e:/rails_apps/project/public">
> Options Indexes FollowSymLinks
> AllowOverride none
> Order allow,deny
> Allow from all
> </Directory>
>
> ProxyPass /project/images !
> ProxyPass /project/stylesheets !
> ProxyPass /project/javascripts !
>
> ProxyPass /project/ http://127.0.0.1:4000/
>
> ProxyPass /project http://127.0.0.1:4000/
> ProxyPassReverse /project/ http://127.0.0.1:4000/
>
> #Proxy information for research guides application
> #this is the application not working properly
> Alias /research "e:/rails_apps/research/public"
> <Directory "e:/rails_apps/research/public">
> Options Indexes FollowSymLinks
> AllowOverride none
> Order allow,deny
> Allow from all
> </Directory>
>
> ProxyPass /research/images !
> ProxyPass /research/stylesheets !
> ProxyPass /research/javascripts !
>
> ProxyPass /research/ http://127.0.0.1:4002/
>
> ProxyPass /research http://127.0.0.1:4002/
> ProxyPassReverse /research/ http://127.0.0.1:4002/
>
> Thanks!
> --
>
> Nathan Mealey
>
> Systems Librarian
>
> Simmons College
>
> 617.521.2755
>
> nathan.mealey at simmons.edu
>
>
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/mongrel-users/attachments/20061215/0b4cd699/attachment.html