[Rails] Multiple Rails Apps in 1 Virtual Host on Apache 1.3

Paul Barclay
2006-01-13T14:45:08Z

After attempting this on my own using the Apache "Alias" directive I
noticed that it did not work in all cases:

http://myserver/app1/ (this worked)
http://myserver/app1 (this failed, I won''t bore you with the rewrite
logs of why)

This led me to the following article
http://wiki.rubyonrails.com/rails/pages/HowtoDeployMoreThanOneRailsAppOnOneMachine

Which I followed.

Must to my sorrow I get the same behaviour as using "Alias".

I found I can fix this using another rewrite rule:

RewriteRule ^/app1$   /app1/     [r]

I would like to get this working without having to do the redirect, has
anybody else had this problem?

I am runnig Linux, apache 1.3 and the latest Rails version.

--
Posted via http://www.ruby-forum.com/.