質問するログイン新規登録

質問編集履歴

2

修正

2020/02/08 08:40

投稿

erp
erp

スコア46

title CHANGED
File without changes
body CHANGED
@@ -1,5 +1,5 @@
1
1
  ### 発生している問題
2
- .htaccessの書き方が分かりません。以下のheaderを.htaccessで全体に加えたいとき、これで書き方であっていますか?
2
+ .htaccessの書き方が分かりません。以下のheaderを.htaccessで全体に加えたいとき、これで書き方であっていますか?ご教授ください。
3
3
 
4
4
 
5
5
  ### PHP

1

syuusei

2020/02/08 08:40

投稿

erp
erp

スコア46

title CHANGED
File without changes
body CHANGED
@@ -5,7 +5,7 @@
5
5
  ### PHP
6
6
 
7
7
  ```php
8
- header("X-XSS-Protection: 1; mode=block");
8
+ header("X-XSS-Protection: 1");
9
9
  header("X-Frame-Options:SAMEORIGIN");
10
10
  header("X-Content-Type-Options:nosniff");
11
11
  header("Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache Expires: 0");