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

質問編集履歴

2

原因解明のための追加補足情報

2018/07/26 18:01

投稿

yosuke_ir
yosuke_ir

スコア12

title CHANGED
File without changes
body CHANGED
@@ -52,4 +52,31 @@
52
52
  【Apache】Apache/2.4.6 (CentOS)
53
53
  【php】PHP Version 7.1.20
54
54
 
55
- ・wordpressはドキュメントルートディレクトリにインストールしています。
55
+ ・wordpressはドキュメントルートディレクトリにインストールしています。
56
+
57
+ ### 追加補足
58
+ httpd.confの設定状況
59
+ > DocumentRoot "/var/www/html"
60
+ >
61
+ > <Directory "/var/www">
62
+ > # AllowOverride None
63
+ > AllowOverride All
64
+ > # Allow open access:
65
+ > Require all granted
66
+ > </Directory>
67
+
68
+ 現状の.htaccessの記載情報
69
+
70
+ > # BEGIN WordPress
71
+ > <IfModule mod_rewrite.c>
72
+ > RewriteEngine On
73
+ > RewriteBase /
74
+ > RewriteRule ^index.php$ - [L]
75
+ > RewriteCond %{REQUEST_FILENAME} !-f
76
+ > RewriteCond %{REQUEST_FILENAME} !-d
77
+ > RewriteRule . /index.php [L]
78
+ > RewriteCond %{REQUEST_URI} /.*
79
+ > RewriteCond %{REQUEST_URI} !^/index.php
80
+ > RewriteRule .* /index.php%{REQUEST_URI} [P,L]
81
+ > </IfModule>
82
+ > # END WordPress

1

用語の記載間違えの修正

2018/07/26 18:01

投稿

yosuke_ir
yosuke_ir

スコア12

title CHANGED
File without changes
body CHANGED
@@ -34,7 +34,7 @@
34
34
  > RewriteRule . /index.php [L]
35
35
  > </IfModule>
36
36
 
37
- wordpressはルートドキュメントにインストールしているので
37
+ wordpressはドキュメントルートにインストールしているので
38
38
  上記の記載で問題ないと判断しました。
39
39
 
40
40
  ■「mod_rewrite」が動作しているか確認