teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

追記

2020/05/11 07:14

投稿

chaosmode
chaosmode

スコア7

title CHANGED
File without changes
body CHANGED
@@ -23,4 +23,18 @@
23
23
  すみませんが、よろしくお願い致します。
24
24
 
25
25
  サーバー:apache
26
- 開発言語:php
26
+ 開発言語:php
27
+
28
+ [追記]
29
+ .htaccessの内容です。
30
+ <IfModule mod_rewrite.c>
31
+ RewriteEngine On
32
+ RewriteCond %{REQUEST_URI} ^/(test_1|test_2|test_3)
33
+ RewriteCond %{REQUEST_FILENAME} !-d
34
+ RewriteCond %{REQUEST_FILENAME} !-f
35
+ RewriteRule ^(.*)$ index.php [QSA,L]
36
+
37
+ RewriteCond %{REQUEST_URI} !^/(test_1|test_2|test_3)
38
+ RewriteCond %{REQUEST_FILENAME} -d
39
+ RewriteRule ^(.*)/?$ $1/index.cgi
40
+ </IfModule>