We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36047
    • 30 Posts
    Quote from: wshawn at Mar 04, 2015, 02:48 PM
    Quote from: spbox at Mar 04, 2015, 01:40 PM
    Quote from: wshawn at Mar 04, 2015, 01:16 PM

    And what do you mean by "change the context value in the settings"?

    You stated in the original post that you had used the old Resource ID as the 404 page in the settings. If you create a new page you need to change that setting to point to the new page.

    The 16 and 0 being returned to the page are a result of something called within the page. Look there.

    Sorry for the misunderstanding, but i was changing resource id in the settings each time i created a new 404 page. This is really strange, because it happens only with 404 error page and i didn`t face this problem in other pages.
    • discuss.answer
      • 36047
      • 30 Posts
      Figured out!
      The issue was in Apache + Nginx bundle. It caused by the difference between Apache and Nginx headers.
      Nginx connects to Apache with HTTP/1.0., but Apache gives answers with HTTP/1.1. (chunked transfer encoding).
      Those strange symbols are the chunks length. Nginx recognized them like a part of Apaches answer.


      So, if someone will get the same problem - just paste the next strings to your .htaccess:
      SetEnv force-no-vary
      SetEnv downgrade-1.0


      Thanks everyone for your time!