質問編集履歴
1
例題サンプルドメインに変更⇒sample\.com
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,17 +12,17 @@
|
|
12
12
|
|
13
13
|
対象URL
|
14
14
|
|
15
|
-
http://a
|
15
|
+
http://sample.com/second/third/index.cgi?q=$1
|
16
16
|
|
17
17
|
変換希望URL
|
18
18
|
|
19
|
-
http://a
|
19
|
+
http://sample.com/second/third/$1.html
|
20
20
|
|
21
21
|
|
22
22
|
|
23
23
|
RewriteEngine On
|
24
24
|
|
25
|
-
RewriteRule ^http://a
|
25
|
+
RewriteRule ^http://sample.com/second/third/([0-9]+).html$ http://sample.com/second/third/index.cgi?q=$1
|
26
26
|
|
27
27
|
|
28
28
|
|