質問編集履歴
3
chromeのデベロッパーツールのSecurityタブのキャプチャを追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -169,3 +169,15 @@
|
|
169
169
|
</IfModule>
|
170
170
|
|
171
171
|
```
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
正常時のchromeのデベロッパーツールのSecurityタブのキャプチャ
|
176
|
+
|
177
|
+
![正常時のキャプチャ](4200322b66194bf87d4a950ac07640f6.png)
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
NG時のchromeのデベロッパーツールのSecurityタブのキャプチャ
|
182
|
+
|
183
|
+
![NG時のキャプチャ](45f7b095d80d67840723374778586c53.png)
|
2
うまくコードブロックに変換されていなかったので.htaccessの記載を修正いたしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -92,6 +92,8 @@
|
|
92
92
|
|
93
93
|
.htaccess
|
94
94
|
|
95
|
+
|
96
|
+
|
95
97
|
```
|
96
98
|
|
97
99
|
Action myphp-script /php.cgi
|
@@ -166,4 +168,4 @@
|
|
166
168
|
|
167
169
|
</IfModule>
|
168
170
|
|
169
|
-
|
171
|
+
```
|
1
.htaccessの記載内容を追加いたしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -87,3 +87,83 @@
|
|
87
87
|
|
88
88
|
|
89
89
|
何卒、よろしくお願いいたします。
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
.htaccess
|
94
|
+
|
95
|
+
```
|
96
|
+
|
97
|
+
Action myphp-script /php.cgi
|
98
|
+
|
99
|
+
AddHandler myphp-script .php .html
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
RewriteEngine on
|
104
|
+
|
105
|
+
RewriteCond %{HTTP_HOST} ^example.jp$
|
106
|
+
|
107
|
+
RewriteRule ^(.*) http://www.example.jp/$1 [R=301,L]
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
Redirect permanent /guide.html https://www.example.jp/guide/index.html
|
112
|
+
|
113
|
+
Redirect permanent /attention/index.html https://www.example.jp/guide/attention.html
|
114
|
+
|
115
|
+
Redirect permanent /shop.html https://www.example.jp/shop/index.html
|
116
|
+
|
117
|
+
Redirect permanent /access.html https://www.example.jp/shop/access.html
|
118
|
+
|
119
|
+
Redirect permanent /faq.html https://www.example.jp/faq/index.html
|
120
|
+
|
121
|
+
Redirect permanent /reserve.html https://www.example.jp/reserve/index.html
|
122
|
+
|
123
|
+
Redirect permanent /contact.php https://www.example.jp/contact/index.html
|
124
|
+
|
125
|
+
Redirect permanent /sitemap.html https://www.example.jp/sitemap/index.html
|
126
|
+
|
127
|
+
Redirect permanent /privacy.html https://www.example.jp/privacy/index.html
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
AddDefaultCharset utf-8
|
132
|
+
|
133
|
+
AddType "text/html; charset=utf-8" html php
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
<IfModule mod_php5.c>
|
138
|
+
|
139
|
+
php_value mbstring.internal_encoding utf-8
|
140
|
+
|
141
|
+
php_value default_charset utf-8
|
142
|
+
|
143
|
+
php_value mbstring.http_output utf-8
|
144
|
+
|
145
|
+
php_value mbstring.language utf-8
|
146
|
+
|
147
|
+
php_value mbstring.http_input auto
|
148
|
+
|
149
|
+
php_flag mbstring.encoding_translation On
|
150
|
+
|
151
|
+
php_value output_handler mb_output_handler
|
152
|
+
|
153
|
+
</IfModule>
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
#SetEnvIf REDIRECT_HTTPS (.*) HTTPS=$1
|
158
|
+
|
159
|
+
<IfModule mod_rewrite.c>
|
160
|
+
|
161
|
+
RewriteEngine on
|
162
|
+
|
163
|
+
RewriteCond %{ENV:HTTPS} !on
|
164
|
+
|
165
|
+
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
166
|
+
|
167
|
+
</IfModule>
|
168
|
+
|
169
|
+
```
|