Welcome Guest, Not a member yet? Register   Sign In
set the "document root" to the public folder inside your project
#2

(This post was last modified: 07-13-2017, 05:38 PM by ciadmin.)

Setting your document root refers to web server configuration, eg setting the DocumentRoot inside Apache or your virtual host setting. If Apache's document root is "/projectroot/public", then your $baseURL will be "http://localhost" or the virtual host domain that you have setup.

If you need "public" inside your baseURL or as part of the location field inside your browser, then you haven't setup the server properly.

See https://bcit-ci.github.io/CodeIgniter4/c...tml#public
Reply


Messages In This Thread
RE: set the "document root" to the public folder inside your project - by ciadmin - 07-13-2017, 05:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB