Welcome Guest, Not a member yet? Register   Sign In
Problems with CodeIgniter 4.0.4
#10

(This post was last modified: 09-06-2020, 06:05 PM by orionstar.)

You should set your virtualhost config (documentroot and directory directives) to point to the public folder then it will work and /public doesnt need to be added to the end of the URL. See my config below:

Code:
<VirtualHost ng-cms.local:80>
    DocumentRoot    "D:\vhosts\ng-cms.local\public"
    ServerName      ng-cms.local
    ServerAlias     www.ng-cms.local
    <Directory "D:\vhosts\ng-cms.local\public">
        AllowOverride all
        Require all granted
    </Directory>
</VirtualHost>
Reply


Messages In This Thread
Problems with CodeIgniter 4.0.4 - by Omar Crespo - 09-02-2020, 12:57 PM
RE: Problems with CodeIgniter 4.0.4 - by chenzen - 09-02-2020, 02:47 PM
RE: Problems with CodeIgniter 4.0.4 - by InsiteFX - 09-03-2020, 04:07 AM
RE: Problems with CodeIgniter 4.0.4 - by chenzen - 09-02-2020, 07:02 PM
RE: Problems with CodeIgniter 4.0.4 - by demyr - 09-03-2020, 12:51 AM
RE: Problems with CodeIgniter 4.0.4 - by InsiteFX - 09-06-2020, 06:19 AM
RE: Problems with CodeIgniter 4.0.4 - by chenzen - 09-06-2020, 11:31 PM
RE: Problems with CodeIgniter 4.0.4 - by orionstar - 09-06-2020, 06:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB