I need to deploy two rails applications using apache and mongrel
cluster.
I have modified VirtualHost and configured mongrel cluster for a single
application http://mydomain.com and it works fine.
The administration application( http://administrator.mydomain.com ) of
the above is a seperate application and I face problem in deploying it
in same apache server. ( I have set a seperate VirtualHost and
configured mongrel cluster ).
I have seperate conf files with the VirtualHost setting, namely
admin.conf and app.conf, and included it in apached httpd.conf file
I’m able to deploy both the application individually but not together.
The application configuration file which is included first in apache
httpd.conf file is only served( it is also set as the default server ).
I even tried by setting the apps in different ports 80 and 8080
If anyone could think of a solution kindly help me to fix it.
Since the ServerName of other app, that is the admin app was administrator.mydomain.com, apache could not serve both the apps
simultaneously. It just served whichever app was first included in
httpd.conf
I think it is a very minor problem I should have taken care of. But
sorry I’m a newbie to apache configuration