Welcome Guest | Login

php pages suddenly not loading

As of two minutes ago, it looks like hostingrails is not handling my site's php files correctly. Things were working fine, and then suddenly my browser is prompting me to download my site's php files, rather than displaying them.

Here's a stripped-down example: http://bizbuildersgroup.com/test6.php

I've tested this on multiple browsers and multiple computers, and all are prompting me to download the file, rather than displaying it.

I've tested the same file on a different server, and it's displaying normally.

Here's the entire contents of the file:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Untitled Document</title>
</head>

<body>
php test page.
</body>
</html>


Any help figuring out what's going on is appreciated!

Thanks,
Jacob

2007-04-07 07:09 PM

OK, the problem seems to have cleared itself up (with no changes on my part...)

2007-04-07 07:26 PM

Having problems too, can't seem to serve https requests. haven't changed anything myself, I'm hoping that this clears up too. :-)

2007-04-07 08:38 PM

Last night we have some issue with the php on the server spurgeon.hostingrails.com. Its fixed now..
Thanks, Kumar

2007-04-07 08:45 PM

HostingRails Support
Having problems on spurgeon too. It's not sending HTTP_X_FORWARDED_PROTO in the proxied request, when a request is using ssl.

2007-04-07 09:03 PM

I don't know if these issues are related, but this seems like as good a place as any to put an update. Just in case anyone else is having the same problem, the support crew let me know that they are looking at it now. This is on the server spurgeon.

I use SslRequirement, and any actions that are 'ssl_required' are failing. I believe my problem is that Apache is not sending
 RequestHeader set X_ORIGINAL_PROTOCOL 'https'
So my action dies because it has to be served as https.

2007-04-07 11:59 PM

This problem has been fixed - there was an issue with mod_headers that is resolved now.  Sorry for the trouble guys.  

2007-04-08 01:44 AM

Thanks so much for chasing this down!

2007-04-08 10:40 AM

Wasn't just PHP acting weird... my Rails app(s) were down too. I could access C-Panel fine, but my entire site was out of it for two hoursish /=

I just signed up yesterday, too, heh.

- slr

Edit: I'm on spurgeon as well, of course.

2007-04-17 04:23 AM

so does sslrequirement plugin work on hostingrails? I been trying to implementing it, but the redirection never worked, in firefox it gives the error

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

and in IE the page just never get loaded when i access a page that require a https redirection.

Thanks

2007-07-01 06:56 PM

SSL Requirement does work for me on spurgeon (it worked before and after the mod_headers issue on 4/7/07). I run Mongrel, and asked support for a vhost entry that redirects www.mydomain.com to mydomain.com. My cert is for mydomain.com, so the redirect lets me use SSL Req without worrying about someone coming into www.mydomain.com (which has no cert).

2007-07-01 08:44 PM

Hello Zhusong,

You can try SSL requirement plugins on your account. And please feel free to post a ticket if you need any further help in setting up the vhost entries for redirecting your domain. Thank you

2007-07-02 02:30 AM

HostingRails Support

Hello Guest! In order to post you must be an active client with us, please log in or sign up today!