# Phusion passenger + php

**URL:** <https://www.ruby-forum.com/t/phusion-passenger-php/155383>\
**Category:** Rails\
**Created:** [December 11, 2008, 8:32am UTC](https://www.ruby-forum.com/t/phusion-passenger-php/155383 "2008-12-11T08:32:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alfredogz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@alfredogz](https://www.ruby-forum.com/u/alfredogz)\
**Post date:** [December 11, 2008, 8:32am UTC](https://www.ruby-forum.com/t/phusion-passenger-php/155383/1 "2008-12-11T08:32:11Z")

</div>

Hello , I excuse me if this is a bit offtopic.

I have an application running with phusion passenger and It’s working  
fine for the moment.

The problem is that I need to run a php application (phpbb) on the same  
domain and I’m having problems to get it working.

The problem is that the forum url ([mydomain.com/forum](http://mydomain.com/forum)) is served by  
rails, I get a 404 error from my rails application.

However if I use my domain ip instead of the domain name the php  
application is served and works correctly.

My apache config directive for the domain is like this:

\<VirtualHost \*\>  
ServerName [www.mydomain.com](http://www.mydomain.com)  
DocumentRoot /home/user/public\_html/mydomain/public

I hope you can help me with this.  
Thanks for reading.  
ALfredo
