Welcome Guest, Not a member yet? Register   Sign In
Codeigniter and ReactJS
#11

(This post was last modified: 08-14-2024, 06:27 AM by kabeza.)

(08-14-2024, 06:11 AM)ozornick Wrote: Try move app in subfolder. https://codeigniter4.github.io/userguide...plications
Otherwise, your public/ will be like a regular folder on the hosting.
Without job of the framework. All requests will be sent through the new example.com/ci4/ folder

as stated in my prev. post, I can't put the ci app in a subfolder
Reply
#12

In that case, I don't see a solution.
You can't have one URL (example.com) for index.html (SPA) and index.php (CI 4).
You can specify exactly in the browser to open index.html and this will open the SPA as example.com/index.html
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB