私はWordpressをCakePHP 3に入れようとしています。私はthisに従っていますが、動作しません。二つの問題:私はdomain.com/wordpress/
をしようとした場合WordpressをCakePHP 3にインストールする
- は、私は、これはsame issueにはまり込む:
500 internal server error
- 私は(スラッシュを付けずに)
domain.com/wordpress
をしようとすると、それはCakePHPの要求のように処理され、私はError: WordpressController could not be found
私はまた、岩盤、WPの修正版を試しました。しかし、運がない。
(元WP付き)フォルダ構造:
www/
├─── cake/
│ ├─── webroot/
│ │ └── .htaccess
│ ├─── wordpress/
│ │ └── .htaccess
│ └── .htaccess
└── .htaccess
、様々なhtaccess
ファイル:
www /の.htaccessの
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule (wordpress/.*) $1 [L] # adjust the regex to what you want.
RewriteRule ^$ cake/webroot/ [L]
RewriteRule (.*) cake/webroot/$1 [L]
</IfModule>
WWW /ケーキ/ .htaccessファイル
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /cake/
RewriteRule (.*) webroot/$1 [L]
</IfModule>
WWW /ケーキ/ webrootに/の.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /cake/webroot/
RewriteCond %{THE_REQUEST} \s/+cake/webroot/([^\s&]*) [NC]
RewriteRule^/%1 [R=302,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule^index.php [L]
</IfModule>
WWW /ケーキ/ワードプレス/ .htaccessの
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>
/var/log/error.log
[core:error] [pid 5506] [client xxx.xxx.xxx.xxx:55118] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
* LogLevelはすでにデバッグするように設定されています。
'www /のerror_log'に見て、あなたが見つけるものをここに貼り付けます。 –
@EduardoEscobar done – rlcabral
書き換えフローの詳細を確認するには、トレースログレベルを上げてみてください。** http://httpd.apache.org/docs/current/mod/mod_rewrite.html#logging** – ndm