Skip to content

route issue - URL not found #98

@mofizul21

Description

@mofizul21

Hi,

Thanks for your awesome work. I'm using PHP 7.4. Win 10 64bit with Laragon. Here is my route code

$router->controller('/', App\Controllers\HomeController::class);
$router->controller('/users', App\Controllers\UsersController::class);

Here HomeController is working fine, when I go to my application home (https://smsecom.test), it's working fine.

But when I'm going to https://smsecom.test/users URL, I see:
Not Found
The requested URL /users was not found on this server.

I've configured composer.json, controllers, very well.

What is the problem here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions