CodeIgniter 404 Page Not Found, but why?

前端 未结 11 2360
Happy的楠姐
Happy的楠姐 2020-12-11 14:48

I am using CodeIgniter for two applications (a public and an admin app). The important elements of the document structure are:

/admin
/admin/.htaccess
/admin         


        
11条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 15:24

    The cause of the problem was that the server was running PHP using FastCGI.

    After changing the config.php to

    $config['uri_protocol'] = "REQUEST_URI";
    

    everything worked.

提交回复
热议问题