[Mongrel] Ruby+Apache2.2+ProxyLoadBalance ...... +PHP??

James Ludlow jamesludlow at gmail.com
Wed Aug 30 11:12:01 EDT 2006


On 8/30/06, Jean Verger <jean.verger at gmail.com> wrote:
> Hi,
> I just realice that I can't run php code anymore once I installed my dear
> mongrels (under an Apache Proxy Balancer).
>
> I'm just trying to run the clasic phpinfo() in the following file
> /var/rubyapp/public/phpinfo.php ... but instead of being executed the code
> is being displayed as plain text ... This is the ouput :))
>
>             <?PHP phpinfo(); ?>
>
> anyone can give a hint please on how to have Ruby and PHP code under  Apache
>  Proxy  Balancer?
>

Is your Rails app on a different virtual host than your PHP app?  If
it is, this shouldn't be a problem.

Can you post the relevant config files?

-- James


More information about the Mongrel-users mailing list