質問編集履歴

1

追記

2020/05/11 07:14

投稿

chaosmode
chaosmode

スコア7

test CHANGED
File without changes
test CHANGED
@@ -49,3 +49,31 @@
49
49
  サーバー:apache
50
50
 
51
51
  開発言語:php
52
+
53
+
54
+
55
+ [追記]
56
+
57
+ .htaccessの内容です。
58
+
59
+ <IfModule mod_rewrite.c>
60
+
61
+ RewriteEngine On
62
+
63
+ RewriteCond %{REQUEST_URI} ^/(test_1|test_2|test_3)
64
+
65
+ RewriteCond %{REQUEST_FILENAME} !-d
66
+
67
+ RewriteCond %{REQUEST_FILENAME} !-f
68
+
69
+ RewriteRule ^(.*)$ index.php [QSA,L]
70
+
71
+
72
+
73
+ RewriteCond %{REQUEST_URI} !^/(test_1|test_2|test_3)
74
+
75
+ RewriteCond %{REQUEST_FILENAME} -d
76
+
77
+ RewriteRule ^(.*)/?$ $1/index.cgi
78
+
79
+ </IfModule>