Welcome Guest, Not a member yet? Register   Sign In
why routing not work
#7

(01-09-2022, 07:03 PM)iRedds Wrote: Well, actually this is the problem.
First, the web server looks for paths in the DOCUMENT_ROOT (public directory) and if it doesn’t find it, then it passes control to php.

If you have a /public/school directory, then when you go to the address http://domain/school, the web server will try to read it.
So in your case, I would recommend changing the paths.
/public/assets/school
/public/assets/home

Thank you iRedds. I solved it by creating the 'assets' folder.
Is it "codeigniter" to study this basic mechanism? Or is it "php"?

I want to know why such a routing accident happened
Reply


Messages In This Thread
why routing not work - by yoshi - 01-08-2022, 06:59 PM
RE: why routing not work - by kenjis - 01-09-2022, 03:01 AM
RE: why routing not work - by yoshi - 01-09-2022, 04:23 AM
RE: why routing not work - by iRedds - 01-09-2022, 09:20 AM
RE: why routing not work - by yoshi - 01-09-2022, 06:12 PM
RE: why routing not work - by iRedds - 01-09-2022, 07:03 PM
RE: why routing not work - by yoshi - 01-09-2022, 09:57 PM
RE: why routing not work - by iRedds - 01-09-2022, 10:54 PM
RE: why routing not work - by yoshi - 01-10-2022, 02:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB