Jump to content

Recommended Posts

Posted

dear forumists,

 

a subdomain created at my site via cpanel throws up

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request."

when I try to open it in a browser.

 

Where to turn and what to do?

 

yours`

sehrguey

Posted
Try deleting or renaming your .htaccess file for that subdomain to see if that fixes the 500 error.

For my RoR app deployment I followed instructions at "http://wiki.helionet.org/Deploying_a_Rails_application_on_HelioHost".

 

Here is what I had in .htaccess file "RailsBaseURI /depot".

 

After I deleted it the browser shows "Index of/" the subdomain folder which is a far cry from what is expected from a working RoR application.

 

http://depot.maht.heliohost.org/

 

Any clues?

Posted

I created a fresh RoR setup for you, and started it running. The ruby files are located at /home/sehrguey/rails_apps/depot and you can see the working RoR default stuff at http://depot.maht.heliohost.org/ Your old ruby files are still where you created them at /home/sehrguey/depot and you can transfer them over to the working setup if you wish. Thanks for pointing out how confusing the wiki article is. I didn't write the original one, but I also found the instructions kind of hard to understand. I might have to rewrite it sometime to make it easier to get started with Ruby on Rails on Heliohost.

Posted

After creating a working RoR app on my home computer I followed the official heliohost instructions "http://wiki.helionet.org/Deploying_a_Rails_application_on_HelioHost" for deploying it at my heliohost account.

The resulting "site" was only producing "internal server ERROR 500" and I asked for help at this here forum "http://www.helionet.org/index/topic/14050-problem-at-creating-subdomain/"

The help offered led to opening my app's document-root as "index of ", check here` "http://depot.maht.heliohost.org/".

I could put there a "hello world" page or a copy of "http://rails.area51.heliohost.org/" but it is not at all what ruby on rails applications are about.

So please inform if there is a working RoR app at heliohost.org or should I try my luck at other places?

 

yours`

sehrguey

Posted

Perhaps you should have read the post I made 12 minutes prior to yours. Since you couldn't figure out RoR on your own I set it up for you, and I agree that the official instructions are a little confusing.

Posted
I created a fresh RoR setup for you, and started it running. The ruby files are located at /home/sehrguey/rails_apps/depot and you can see the working RoR default stuff at http://depot.maht.heliohost.org/ Your old ruby files are still where you created them at /home/sehrguey/depot and you can transfer them over to the working setup if you wish. Thanks for pointing out how confusing the wiki article is. I didn't write the original one, but I also found the instructions kind of hard to understand. I might have to rewrite it sometime to make it easier to get started with Ruby on Rails on Heliohost.
Perhaps you should have read the post I made 12 minutes prior to yours. Since you couldn't figure out RoR on your own I set it up for you, and I agree that the official instructions are a little confusing.

You are right I couldn't figure out the stuff even support admin finds fuzzy.

 

Thank you for your magnanimousity at setting up RoR default stuff for me.

Actually, I'd prefer to find out the way of doing it myself, the whole business of trying to deploy it was started to learn things.

 

A bit of bad news though, when I checked "http://depot.maht.heliohost.org/" the response was`

 

"Proxy Error

 

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request GET /.

 

Reason: Error reading from remote server

 

Additionally, a 502 Bad Gateway error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_mono/2.6.3 mod_jk/1.2.35 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 mod_wsgi/3.4 Python/2.4.3 Server at depot.maht.heliohost.org Port 80"

 

Could you kindly clarify please?

 

puzzledly yours`

sehrguey

Posted

Actually, I'd prefer to find out the way of doing it myself, the whole business of trying to deploy it was started to learn things.

Feel free to delete everything I set up and do it yourself. It won't hurt my feelings. I was just trying to help you out by getting a working example that you could copy from. You were asking questions like "So please inform if there is a working RoR app at heliohost?" so your answer to that is obviously yes.

A bit of bad news though, when I checked "http://depot.maht.heliohost.org/" the response was`

Did you change anything?

Posted
Actually, I'd prefer to find out the way of doing it myself, the whole business of trying to deploy it was started to learn things.
Feel free to delete everything I set up and do it yourself. It won't hurt my feelings. I was just trying to help you out by getting a working example that you could copy from. You were asking questions like "So please inform if there is a working RoR app at heliohost?" so your answer to that is obviously yes.
A bit of bad news though, when I checked "http://depot.maht.heliohost.org/" the response was`

Did you change anything?

 

I feel obliged and grateful for your time and effort to help me out. Thank you and I really mean it.

 

My point is I still do not know how to make a rails app (working at home) to work at heliohost.

After getting your message`

I created a fresh RoR setup for you, and started it running. The ruby files are located at /home/sehrguey/rails_apps/depot and you can see the working RoR default stuff at http://depot.maht.heliohost.org/ Your old ruby files are still where you created them at /home/sehrguey/depot and you can transfer them over to the working setup if you wish.

 

I checked the site and got a server error. I informed you about that without changing anything.

 

Then I tried it with another browser and it worked. OK, fine.

I uploaded the application files to the folders you created for me (thank you again) and then I did deleted welcome_index.html in public folder because (you know it better than me) that file does not belong to a rails app.

From that point in time I started to get red on white messages "we are sorry, something went wrong".

 

Actually it's me who's sorry for I don't know what to do, I only know that I won't delete your helping folders and I don't want to leave heliohost - I like the feel of it.

Thank you.

 

yours`

sehrguey

Guest
This topic is now closed to further replies.
×
×
  • Create New...