Nextcloud 12 giving me an issue with X-Frame-Options
Clash 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>
centos apache-httpd nextcloud
add a comment |Â
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>
centos apache-httpd nextcloud
add a comment |Â
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>
centos apache-httpd nextcloud
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>
centos apache-httpd nextcloud
asked Dec 14 '17 at 17:27
parker
595
595
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password