Nextcloud 12 giving me an issue with X-Frame-Options

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Fresh install of Nextcloud 12 on Centos 7 using apache. I haven't configured anything yet but I keep getting the following error codes on the admin console:



X-Frame-Options" HTTP header is not configured to equal to "SAMEORIGIN



X-Content-Type-Options" HTTP header is not configured to equal to "nosniff



I've looked at the .htaccess file and I have both of those set, but when I restart Apache the error persists.



 <IfModule mod_env.c>
# Add security and privacy related headers
Header set X-Content-Type-Options "nosniff"
Header set X-Frame-Options "SAMEORIGIN"
Header set X-XSS-Protection "1; mode=block"
Header set X-Robots-Tag "none"
Header set X-Download-Options "noopen"
Header set X-Permitted-Cross-Domain-Policies "none"
SetEnv modHeadersAvailable true
</IfModule>






share|improve this question
























    up vote
    0
    down vote

    favorite












    Fresh install of Nextcloud 12 on Centos 7 using apache. I haven't configured anything yet but I keep getting the following error codes on the admin console:



    X-Frame-Options" HTTP header is not configured to equal to "SAMEORIGIN



    X-Content-Type-Options" HTTP header is not configured to equal to "nosniff



    I've looked at the .htaccess file and I have both of those set, but when I restart Apache the error persists.



     <IfModule mod_env.c>
    # Add security and privacy related headers
    Header set X-Content-Type-Options "nosniff"
    Header set X-Frame-Options "SAMEORIGIN"
    Header set X-XSS-Protection "1; mode=block"
    Header set X-Robots-Tag "none"
    Header set X-Download-Options "noopen"
    Header set X-Permitted-Cross-Domain-Policies "none"
    SetEnv modHeadersAvailable true
    </IfModule>






    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Fresh install of Nextcloud 12 on Centos 7 using apache. I haven't configured anything yet but I keep getting the following error codes on the admin console:



      X-Frame-Options" HTTP header is not configured to equal to "SAMEORIGIN



      X-Content-Type-Options" HTTP header is not configured to equal to "nosniff



      I've looked at the .htaccess file and I have both of those set, but when I restart Apache the error persists.



       <IfModule mod_env.c>
      # Add security and privacy related headers
      Header set X-Content-Type-Options "nosniff"
      Header set X-Frame-Options "SAMEORIGIN"
      Header set X-XSS-Protection "1; mode=block"
      Header set X-Robots-Tag "none"
      Header set X-Download-Options "noopen"
      Header set X-Permitted-Cross-Domain-Policies "none"
      SetEnv modHeadersAvailable true
      </IfModule>






      share|improve this question












      Fresh install of Nextcloud 12 on Centos 7 using apache. I haven't configured anything yet but I keep getting the following error codes on the admin console:



      X-Frame-Options" HTTP header is not configured to equal to "SAMEORIGIN



      X-Content-Type-Options" HTTP header is not configured to equal to "nosniff



      I've looked at the .htaccess file and I have both of those set, but when I restart Apache the error persists.



       <IfModule mod_env.c>
      # Add security and privacy related headers
      Header set X-Content-Type-Options "nosniff"
      Header set X-Frame-Options "SAMEORIGIN"
      Header set X-XSS-Protection "1; mode=block"
      Header set X-Robots-Tag "none"
      Header set X-Download-Options "noopen"
      Header set X-Permitted-Cross-Domain-Policies "none"
      SetEnv modHeadersAvailable true
      </IfModule>








      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 14 '17 at 17:27









      parker

      595




      595

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f410918%2fnextcloud-12-giving-me-an-issue-with-x-frame-options%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f410918%2fnextcloud-12-giving-me-an-issue-with-x-frame-options%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay