1.問題点
FuelPHPでページ遷移すると「Not Found」と表示されてcontrollerの読み込みができない。
2.エラー内容
Not Found
The requested URL /***** was not found on this server.
3.環境
AWS linux
Apache 2.4
PHP 7.0.27
FuelPHP 1.8
4.原因
Apache設定漏れ
修正前
httpd.conf
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride none ← ここがNG
Require all granted
</Directory>
修正後
httpd.conf
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride All ← これに修正
Require all granted
</Directory>
最後にApache再起動をして解消
service httpd restart