简体   繁体   中英

"Unable to find a route to match the URI: xxxxx/index.php"

I'm trying to use an old project in localhost, its based on kohana 3.1.1.1

When I try to enter to index.php I get: "Unable to find a route to match the URI: [project name]/index.php"

Im a noob using frameworks but I know PHP. Is there a way I can solve it?

Thank you all.

You need make changes in 2 files:

Kohana::init(array(
    'base_url' => '/kohana/',
    'index_file' => false,
));

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM