I know GoDaddy is far from being an ideal host for a rails application
but this is the one my client has and I don't really have a choice. I
tried to deploy the site yesterday and followed the instructions
available on:
http://www.ericdaugherty.com/blog/2007/07/rails-on-godaddy.html
http://lists.rubyonrails.org/pipermail/rails/2006-July/056959.html
http://wiki.rubyonrails.com/rails/pages/RailsWebHostsGoDaddyComments
http://help.godaddy.com/article.php?article_id=1406&topic_id=&prog_id=GoDaddy&#location

... but the site doesn't work.

1. Java is not enabled.
2. I have a "rails" directory inside my root "/" directory and created
a symbolic link (elle -> rails) in the CGI Admin
3. I froze gems before deployment
4. I edited dispatch.* files to reference #!/usr/local/bin/ruby
5. I uploaded files to "rails" directory
6. I chmod dispatch.* files to 755
7. public/.htaccess file contains the following:
         AddHandler fastcgi-script .fcgi
         AddHandler cgi-script .cgi
         Options +FollowSymLinks +ExecCGI
         RewriteEngine On
         RewriteBase /rails
         RewriteRule ^$ index.html [QSA]
         RewriteRule ^([^.]+)$ $1.html [QSA]
         RewriteCond %{REQUEST_FILENAME} !-f
         RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

8. config/environment.rb file contains the following:
       ENV['RAILS_ENV'] ||= 'production'
       RAILS_GEM_VERSION = '1.2.3' unless defined? RAILS_GEM_VERSION
       ENV['GEM_HOME'] = '/usr/local/lib/ruby/gems-dev/1.8'

9. MySQL db is set up and database.yml was updated with the correct
details.
       host: p50mysql59.secureserver.net
       port: 3306


And the site doesn't work. I get a 403 Forbidden error.
And GoDaddy support team keeps emailing me, saying the root directory
is missing a default index file.

I really don't have a choice with web hosting selection and I need
this site to run. It's not going to be a high traffic site. The url is
http://elitehousings.com/

Can anyone please please help?

TIA,
Elle


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to