ここで何が間違っているのかわかりません。すべてがうまく見えます。しかし、ページの読み込み時にエラー 500 が発生し続けます。
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Site extends CI_Controller {
public function index()
{
$this->home();
}
public function home()
{
$this->load->view("header");
$this->load->view("site");
$this->load->view("footer");
}
public function about()
{
$this->load->view("header");
$this->load->view("about");
$this->load->view("footer");
}
}
mywebsite.com/site/about にリンクすると
500 内部サーバー エラーが発生します
私は何を間違っていますか?
私のhtaccessファイルは次のようになります
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|images|scripts|robots\.txt)
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
アイデア?考え。私はそれが愚かなことだと知っています。数か月間、CI の作業を行っていません。
ありがとう