Welcome Guest | Login

Setting up a php app?

How do I get a PHP app running through a subdomain if I already have a rails app installed?

2007-01-24 07:02 PM

Hi there - check out this tutorial, http://www.hostingrails.com/forums/wiki_thread/6

Its essentially the same process, just make sure to have a RewriteEngine OFF in your .htaccess for the php app - but you create the symlink to the public folder of your PHP app the same way.  

Cheers,

~William

2007-01-25 02:00 AM

I think i might need more details.  I tried following that, but the subdomain points to a subfolder in my rails directory and when i erase that and symlink to the php directory, it says 'rails application failed to start'

there is no .htaccess file in the php app folder.. do you have an example of one if i need to create one?

2007-01-25 09:47 PM

Oh, I figured it out.  Just create an .htaccess file in the php app folder with the single line: "RewriteEngine Off" (in case somebody else needs to know that later)

2007-01-25 09:55 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.