Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

posted at

updated at

FuelPHP 1.8 Not Found

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

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
0
Help us understand the problem. What are the problem?