Help us understand the problem. What is going on with this article?

FuelPHP 1.8 Not Found

More than 1 year has passed since last update.

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

kentarou_masuda
HackLab株式会社 代表取締役
https://hacklab-tech.io
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away