質問編集履歴
2
修正
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
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
|
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");
|