Corrupted Content Error

Started by spiros, October 25, 2016, 05:42:41 AM

Previous topic - Next topic

spiros

I had nginx configured a couple of weeks ago, and suddenly none of the sites on my VPS work without me making any changes. For the forum I would get in FF:

Corrupted Content Error

The page you are trying to view cannot be shown because an error in the data transmission was detected.

The page you are trying to view cannot be shown because an error in the data transmission was detected.


The reply from the host was:

This is because there are some redirects configured for the website.You can get a "Corrupted Content Error" error if there are multiple location redirects send via the HTTP response headers:

root@host [/]# curl -I http://www.translatum.gr/forum/index.php
HTTP/1.1 301 Moved
Server: nginx
Date: Tue, 25 Oct 2016 08:17:16 GMT
Content-Type: text/html; charset="utf-8"
Content-Length: 113
Connection: keep-alive
Location: https://:2083/forum/index.php
Cache-Control: no-cache, no-store, must-revalidate, private
Pragma: no-cache

Note the Location line:


And then:

This is related to your Nginx+Apache combo. For testing purposes we turned off Nginx and edited the Apache configuration files to match the 80 port number after which we successfully opened http://www.translatum.gr/forum/index.php.

The only problem was that all other domains on VPS were redirecting to translatum.gr, then:

We edited your httpd.conf file and replaced all 8888 ports value with 80.


After that they were fixed, but then a while afterwards all sites were down again with the same issues...

Advertisement: