# Apache ruby

**URL:** <https://www.ruby-forum.com/t/apache-ruby/116178>\
**Category:** Rails\
**Created:** [October 3, 2007, 7:41am UTC](https://www.ruby-forum.com/t/apache-ruby/116178 "2007-10-03T07:41:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![S.Tony](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dc4da7/32.png) [@S.Tony](https://www.ruby-forum.com/u/S.Tony)\
**Post date:** [October 3, 2007, 7:41am UTC](https://www.ruby-forum.com/t/apache-ruby/116178/1 "2007-10-03T07:41:38Z")

</div>

Hello,

Is it possible to run Ruby (one ruby app),PHP on Apache (with  
mod,plugins) at the same time?

And just use one port for the whole website.

---

<div class="post-metadata">

**Author:** ![S.Tony](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dc4da7/32.png) [@S.Tony](https://www.ruby-forum.com/u/S.Tony)\
**Post date:** [October 3, 2007, 10:09am UTC](https://www.ruby-forum.com/t/apache-ruby/116178/2 "2007-10-03T10:09:34Z")

</div>

On 3 Oct 2007, at 06:40, .Tony. wrote:

> Hello,
> 
> Is it possible to run Ruby (one ruby app),PHP on Apache (with  
> mod,plugins) at the same time?
> 
> And just use one port for the whole website.

You can use virtual hosts with some of those being php apps and the  
others rails, I would imagine some rewrite rules would also do the  
trick.

Fred
