# Php proxy

**URL:** <https://www.ruby-forum.com/t/php-proxy/126014>\
**Category:** Deployment\
**Created:** [January 14, 2008, 6:08pm UTC](https://www.ruby-forum.com/t/php-proxy/126014 "2008-01-14T18:08:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [January 14, 2008, 6:08pm UTC](https://www.ruby-forum.com/t/php-proxy/126014/1 "2008-01-14T18:08:09Z")

</div>

will repost this here:  
Wondering if anyone’s heard of a php script that will ‘forward’ your  
requests on to, say, a mongrel instance, and return it? Kind of a php  
fcgi (mongrel) wrapper? Thoughts?

I’m trying to figure out an ‘easiest’ way to integrate rails and apache.

Thanks.  
-Roger

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [January 14, 2008, 6:17pm UTC](https://www.ruby-forum.com/t/php-proxy/126014/2 "2008-01-14T18:17:34Z")

</div>

Hi Roger,

> Wondering if anyone’s heard of a php script that will ‘forward’ your  
> requests on to, say, a mongrel instance, and return it? Kind of a php  
> fcgi (mongrel) wrapper? Thoughts?
> 
> I’m trying to figure out an ‘easiest’ way to integrate rails and apache.

I’m not sure to understand - what is your current solution ?

Aren’t you using Apache VHost (like here:  
[http://wiki.joyent.com/accelerators:apache\_rails\_mongrel](http://wiki.joyent.com/accelerators:apache_rails_mongrel))  
?

cheers

## Thibaut

[http://blog.logeek.fr](http://blog.logeek.fr) - about writing software  
[http://evolvingworker.com](http://evolvingworker.com) - tools for a better day

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [January 14, 2008, 6:26pm UTC](https://www.ruby-forum.com/t/php-proxy/126014/3 "2008-01-14T18:26:59Z")

</div>

What I’m looking for is a way to do fcgi on a shared hosting system,  
that doesn’t support fcgi 🙂  
The current solution being cgi (not a solution).

> Aren’t you using Apache VHost (like here:  
> [http://wiki.joyent.com/accelerators:apache\_rails\_mongrel](http://wiki.joyent.com/accelerators:apache_rails_mongrel))  
> This is not possible, unfortunately, as I’m on a shared host so can’t  
> configure my own vhosts. Something light weight and easy would be ideal  
> 🙂  
> Thanks for your help! Informative post.  
> -Roger
