Welcome Guest, Not a member yet? Register   Sign In
CI4 routes doesn't work on production server
#1

Hi
I noticed CI4 auto routing acts differently on nginx/apache2 server. Let's guess we have controller files - 
Code:
Home.php
Blog.php

The `Blog.php` has a method ::details.

Now, if we run `php spark serve`, with the localhost:8080 it works perfectly. I can reach /blog/details-page without errors.
But this doesn't work on nginx/apache/xampp any server other than spark/php development server.

Any help?
Reply


Messages In This Thread
CI4 routes doesn't work on production server - by fujael - 11-08-2021, 12:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB