Integrate with php-script

I have built a webshop in rails, now it’s time for invoice handling
through a third party. The communication will be done by xml-rpc. The
built in ruby xml-rpc doesnt seem to be compatible with the third party
so I have to use a special php-script (provided by the third party) that
will handle the interaction with them. Where on the server should/can I
put the script? I would prefer to have it in railsapp/app or
railsapp/public, but that doesnt seem to work.

Rails 1.1
Lighttpd
SCGI

sorry… this issue is really important to me. I’m therefore going to be
rude and bump up this thread.

// Daniel

Daniel wrote:

SCGI

You’ll need to configure Lighttpd for php. There’s an example config
here:
http://www.jerrett.net/entry/lighttpd_rails_and_php

You should be able to put the script anywhere under railsapp/public.

Or have a look at this:

http://bitrayed.blogspot.com/2006/05/apache2-on-debian-stable-with-rails.html