Topic: Possible to run PHP apps and Rails apps on a Cpanel VPS?

I have a VPS that I have installed ruby/rails on, but it's primarily a PHP host.  They don't support rails themselves.  Also, they are running Apache 1.3.

If I were to go with an Apache/FCGI setup for my rails apps, would that work?

Re: Possible to run PHP apps and Rails apps on a Cpanel VPS?

If I were to go with an Apache/FCGI setup for my rails apps, would that work?

Yes

Re: Possible to run PHP apps and Rails apps on a Cpanel VPS?

So basically I just set my Rails app itself to use FCGI, and make sure I create a rails app, then all my PHP apps under the other cpanel accounts will just work like normal?

Re: Possible to run PHP apps and Rails apps on a Cpanel VPS?

Well, if you have PHP setup on the apache server you can just put your PHP apps in your public folder within your rails app.

Or, if you want to run them seperately, as long as your server supports fcgi, you can just use the rails dispatch.fcgi from another domain.

I don't know anything about specific cpanel because its crap.