fm75
July 27th, 2008, 11:56 AM
Hi all,
I have deployed a plain RoR app to get familiar with the OCS platform:
1) Installed the app in $HOME/rails_apps
2) Set up in the cpanel
3) Started the application
Everything worked.
The rails welcome page shows up at http://www.mydomain (even without setting up a rewrite)
Then I deleted the app from the cpanel and I started having 503 Service unavailable messages.
What I expected here is my old index.html in public_html to be displayed.
Actually, that was what I expected even when the rails application was running without setting up a rewrite.
Now, the question is: how can I make OCS serve again files from my public_html directory?
I have removed all references to the rails app in cpanel, and I have even rm -rf the app from my home directory, but I still have 503 errors.
Why the rails app worked even without setting up rewrite rules?
Maybe I missed some steps.
Thank you for your help.
FM
I have deployed a plain RoR app to get familiar with the OCS platform:
1) Installed the app in $HOME/rails_apps
2) Set up in the cpanel
3) Started the application
Everything worked.
The rails welcome page shows up at http://www.mydomain (even without setting up a rewrite)
Then I deleted the app from the cpanel and I started having 503 Service unavailable messages.
What I expected here is my old index.html in public_html to be displayed.
Actually, that was what I expected even when the rails application was running without setting up a rewrite.
Now, the question is: how can I make OCS serve again files from my public_html directory?
I have removed all references to the rails app in cpanel, and I have even rm -rf the app from my home directory, but I still have 503 errors.
Why the rails app worked even without setting up rewrite rules?
Maybe I missed some steps.
Thank you for your help.
FM