does any one knows how to setup ror on hostmonster. i’m new to the
hosting. so i dono how to set it up. the technical people told me that
they don’t give any idean abut the ror hosting via live chat. So i
need to do this as soon as possible. so please any body help me.
nirosh wrote:
does any one knows how to setup ror on hostmonster. i’m new to the
hosting. so i dono how to set it up. the technical people told me that
they don’t give any idean abut the ror hosting via live chat. So i
need to do this as soon as possible. so please any body help me.
First create rails_app folder in public_html (this is not necessary but
I prefer all rails app should be placed there.)
Step1:
Create app in $HOME/rails folder
$HOME/rails: rails app_name
Step 2:
Create a subdomain from the control panel…
create subdomain with any_name (for exmple app_name)
path should be /public_html/rails_app/app_name
Step 3:
Remove app_name dir from the /public_html/rails_app/
rm -rf /public_html/rails_app/app_name
Step 4:
Create symlink for app_name application
ln -s $HOME/rails/app_name/public/ $HOME/public_html/rails_app/app_name
Step 5:
Set .htaccess file
% touch ~/rails/app_name/public/.htaccess
Now, edit the newly created file with your favorite editor and add the
following:
General Apache options
AddHandler fcgid-script .fcgi
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)/!$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
Let me know if you have any problem in this…or not understand
nething,…
Thanks
Brijesh S.
thanks Brijesh S.
please let me know how to login to the host monster web server
console.
nirosh
ok thanks.
Regards
Kunalan Kandiah | System Admin/Web D.
RayMax Media 87/4, Arcot Road, Vadapalani, Chennai - 60 026, India.
Phone +914 442 031 974 | Direct +919 566 236 108 | Skype r.k.kunalan |
http://www.raymax.in
what abt the datacase settings??
You should ask them to create you an SSH account. After that, it
depends of your OS for how to login. If you are using windows,
download putty, else in OS X or linux you can login directly from the
console
the test ror app is working great
when i pulled my app into the web space. there is a error populated.
the error is “Application error Application failed to start properly”
check the link www.kavinali.com
thanks in advance.
nirosh
nirosh wrote:
the test ror app is working great
when i pulled my app into the web space. there is a error populated.
the error is “Application error Application failed to start properly”
check the link www.kavinali.com
thanks in advance.
nirosh
Try to start server from the console…
Thanks
Brijesh S.
after the full setup on hostmonster. i got this message when i go to
the default route.
any idea
Not Found
The requested URL /home/index was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.
Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2
mod_auth_passthrough/2.1 FrontPage/5.0.2.2635 Server at www.kavinali.com
Port 80