Setting up a php app?
- Empath
- Posts: 7
- Starts: 2
- Wiki Edits: 0
How do I get a PHP app running through a subdomain if I already have a rails app installed?
- William
- Posts: 1052
- Starts: 32
- Wiki Edits: 56
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
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
- Empath
- Posts: 7
- Starts: 2
- Wiki Edits: 0
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?
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
- Empath
- Posts: 7
- Starts: 2
- Wiki Edits: 0
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)