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

Posted on 2006-04-18
Last Modified: 2010-03-04
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:

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.


Reference info:
Go Daddy's hosting page:
Question by:stoniergrunow
    LVL 10

    Expert Comment

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

    Author Comment

    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 ____________(doesn't interpret eruby) ______________(doesn't render html, thinks rhtml is a text file) _____(not visible - 404 page not found)

    the text for the godaddy generated htaccess file is is

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

    the /.htaccess file is still blank.

    Still not too sure what to do.


    Author Comment

    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.

    Accepted Solution

    Closed, 500 points refunded.
    The Experts Exchange
    Community Support Moderator of all Ages

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
    Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now