I can't get eruby working on my godaddy hosted site. It might be an htaccess issue.

I just signed up for godaddy hosting. I can see files with the extension .html, and they are rendered correctly, but any file that ends .rhtml is displayed as straight text. I'm not too sure how to enable ruby (specifically eruby) but godaddy does offer rails hosting on its deluxe linux package, which I have, so I presumed eruby would work.

This may be an htaccess thing, or I may have to move directories, I'm not too sure.

I saved two identical files, and you can see them here: lonelyipod.com/test.rhtml lonelyipod.com/test.html

I have an .htaccess file in my root directory, but it is empty.

The winner of the points is the one who can help me get test.rhtml displaying properly.

thanks!

Reference info:
Go Daddy's hosting page: https://www.godaddy.com/gdshop/hosting/shared.asp?se=%2B&ci=260
stoniergrunowAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sleep_furiouslyCommented:
If you have not already done so, check this page:

http://help.godaddy.com/article.php?article_id=1116&topic_id=266&&
0
stoniergrunowAuthor Commented:
Thanks - I have created a directory test using the godaddy cgi ruby tools, and within it a public directory, so my files are now at

lonelyipod.com/testroot.html ____________(doesn't interpret eruby)
lonelyipod.com/test.rhtml ______________(doesn't render html, thinks rhtml is a text file)
lonelyipod.com/test/public/test2.html _____(not visible - 404 page not found)

the text for the godaddy generated htaccess file is lonelyipod.com/test/.htaccess is

RewriteEngine On
RewriteRule !/public/dispatch.cgi  [F]

the /.htaccess file is still blank.

Still not too sure what to do.



0
stoniergrunowAuthor Commented:
This has been largely resolved. As I understand it, rhtml files can either be handled by a rails application or by using mod_ruby to allow eruby parsing of html. GoDaddy does not support eruby so single, stand-alone rhtml files (used much like .php files) do not work on their servers. Presumably a full rails app will work, but I haven't tried it.
0
GranModCommented:
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.