質問編集履歴

2

httpに修正

2017/03/19 05:21

投稿

tajix_japan
tajix_japan

スコア132

test CHANGED
File without changes
test CHANGED
@@ -16,11 +16,11 @@
16
16
 
17
17
  これにより
18
18
 
19
- ttp://example.com/city/13/13102/
19
+ http://example.com/city/13/13102/
20
20
 
21
21
  のリンクを踏むと
22
22
 
23
- ttp://example.com/city.php?pre_id=13&city_id=13102
23
+ http://example.com/city.php?pre_id=13&city_id=13102
24
24
 
25
25
  のPHPの結果を拾ってきます。
26
26
 
@@ -28,11 +28,11 @@
28
28
 
29
29
  この場合、ホームページに記載するURLは
30
30
 
31
- ttp://example.com/city/13/13102/
31
+ http://example.com/city/13/13102/
32
32
 
33
33
  そこを踏んだ場合の、ブラウザに表示されるURLも同様となります。
34
34
 
35
- ttp://example.com/city/13/13102/
35
+ http://example.com/city/13/13102/
36
36
 
37
37
 
38
38
 
@@ -50,11 +50,11 @@
50
50
 
51
51
  これにより
52
52
 
53
- ttp://example.com/city/13/13102/
53
+ http://example.com/city/13/13102/
54
54
 
55
55
  のリンクを踏むと
56
56
 
57
- ttp://example.com/city.php?pre_id=13&city_id=13102
57
+ http://example.com/city.php?pre_id=13&city_id=13102
58
58
 
59
59
  のPHPの結果を拾ってきます。
60
60
 
@@ -62,7 +62,7 @@
62
62
 
63
63
  ホームページに記載するリンクのURLは
64
64
 
65
- ttp://example.com/city/13/13102/
65
+ http://example.com/city/13/13102/
66
66
 
67
67
  で変わりはありません。
68
68
 
@@ -70,7 +70,7 @@
70
70
 
71
71
  しかし、そのリンクを踏んだ場合、ブラウザに表示されるURLが、
72
72
 
73
- ttp://example.com/city.php?pre_id=13&city_id=13102
73
+ http://example.com/city.php?pre_id=13&city_id=13102
74
74
 
75
75
  と、PHPがそのまま表示されてしまうことがわかりました。
76
76
 
@@ -82,7 +82,7 @@
82
82
 
83
83
  nginxでのrewrite時のブラウザに表示されるURLを
84
84
 
85
- ttp://example.com/city/13/13102/
85
+ http://example.com/city/13/13102/
86
86
 
87
87
  にする方法ばありませんでしょうか?
88
88
 

1

誤字修正

2017/03/19 05:21

投稿

tajix_japan
tajix_japan

スコア132

test CHANGED
File without changes
test CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  のリンクを踏むと
22
22
 
23
- ttp://example.com/city.php?a2_pre_id=13&a4_city_id=13102
23
+ ttp://example.com/city.php?pre_id=13&city_id=13102
24
24
 
25
25
  のPHPの結果を拾ってきます。
26
26
 
@@ -54,13 +54,13 @@
54
54
 
55
55
  のリンクを踏むと
56
56
 
57
- ttp://example.com/city.php?a2_pre_id=13&a4_city_id=13102
57
+ ttp://example.com/city.php?pre_id=13&city_id=13102
58
58
 
59
59
  のPHPの結果を拾ってきます。
60
60
 
61
61
 
62
62
 
63
- ホームページに記載するURLは
63
+ ホームページに記載するリンクのURLは
64
64
 
65
65
  ttp://example.com/city/13/13102/
66
66
 
@@ -68,13 +68,9 @@
68
68
 
69
69
 
70
70
 
71
- しかし、そを踏んだ場合、ブラウザに表示されるURLが、apache+mod_writeを使用した時のように
71
+ しかし、そのリンクを踏んだ場合、ブラウザに表示されるURLが、
72
72
 
73
- ttp://example.com/city/13/13102/
74
-
75
- というような変換されたURLではなく、
76
-
77
- ttp://example.com/city.php?a2_pre_id=13&a4_city_id=13102
73
+ ttp://example.com/city.php?pre_id=13&city_id=13102
78
74
 
79
75
  と、PHPがそのまま表示されてしまうことがわかりました。
80
76