回答編集履歴
2
誤り訂正
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
RewriteEngine on
|
20
20
|
|
21
|
-
RewriteCond %{QUERY_STRING} !
|
21
|
+
RewriteCond %{QUERY_STRING} !amp
|
22
22
|
|
23
23
|
RewriteCond %{HTTP_USER_AGENT} (iPod|iPhone|iPad|Android|Windows\ Phone)
|
24
24
|
|
1
補足
test
CHANGED
@@ -1,4 +1,12 @@
|
|
1
1
|
`RewriteCond`での`REQUEST_URI`には、クエリー部分は含まれません。
|
2
|
+
|
3
|
+
> REQUEST_URI
|
4
|
+
|
5
|
+
The path component of the requested URI, such as "/index.html". This notably **excludes the query string** which is available as its own variable named QUERY_STRING.
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
|
2
10
|
|
3
11
|
素直に、`QUERY_STRING`を使いましょう。
|
4
12
|
|