Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 4 security and best practices on live
#4

The "document root" is a server term, and not configured inside your app.
With Apache, a common pracice is to setup a virtual host element for your app, eg DocumentRoot "/pub7/htdocs/course-hub/public"

I have seen some clever .htaccess rulesets to achieve this too, but they strike me as more complicated than the virtual host approach.
Reply


Messages In This Thread
RE: Codeigniter 4 security and best practices on live - by ciadmin - 11-04-2019, 07:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB