PHP Integration



I was wondering if anyone had any ideas for integrating a phpbb site
into a
rails app so that it would utilize my layout. I can’t seem to find any
custom modules and an iframe is less than ideal. Does anyone know of
anything that does this existing?

One approach I thought of would involve writing a module that extends
ActionController such that you can say that the controller is really a
for running a the php cli binary on the server and that the url given
the controller would map to a directory/file in the php filetree, and
pass/preserve POST/GET, Cookies, etc. If the directory name matches the
controller name, then relative urls should remain realitivly unborked.