Welcome Guest, Not a member yet? Register   Sign In
How to remove public/index.php from the URL
#5

(12-21-2020, 06:19 AM)includebeer Wrote: If your host gives you something like /home/username/domain.com/, put the content of the public folder in /home/username/domain.com/ and everything else in /home/username/

It seems like everybody is confused by the new way CI4 deal with the concept of public and private folders. The content of "public" goes in your public folder, whatever its name is, and everything else goes one level up, so it's not publicly accessible.

I appreciate the fact that you find time to answer my question. However, no I have no such luxury on this host. What I have is one folder: mydomain.be

And I have to find a solution that will work on all hosts, since I use CodeIgniter in all my projects, so I need to find a way around this obstacle, which will not compromise the security of the website - app.

Needles to say, exactly the fact that that all files should be outside of the root folder significantly increases the security, but how to find a solution that will work on all hosts is the question of 1 million $...

Hopefully some of the community will find the right answer.

Once again, thanks for your answer...
Reply


Messages In This Thread
RE: How to remove public/index.php from the URL - by t_5810 - 12-22-2020, 07:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB