Codeigniter 4 installation and img directory |
I have installed Codeigniter 4 in the xampp c:\xampp\htdocs\
I have added a virtual host in the httpd-vhosts under C:\xampp\apache\conf\extra I have also added 127.0.0.1 kpi.local in the etc/host Code: <VirtualHost *:80> My codeigniter4 project name is kpi. everything is working fine and my project is running absolutely fine as http://kpi.local but i have img folder in my public directory and base url in config is defined as http://kpi.local but when i check the html source code it is shown as http://kpi.local/public/img/logo.png. but unfortunately logo.png does not appear in the page and img directory doesn't seems to be accessible to my project and when i click on the above link it says 404 file not found. Kindly help me how can allow images to be perfectly displayed in my project. Thanks |
Messages In This Thread |
Codeigniter 4 installation and img directory - by itsrahulk - 04-12-2020, 07:55 AM
RE: Codeigniter 4 installation and img directory - by includebeer - 04-12-2020, 08:02 AM
RE: Codeigniter 4 installation and img directory - by InsiteFX - 04-12-2020, 02:45 PM
RE: Codeigniter 4 installation and img directory - by John_Betong - 04-12-2020, 08:47 PM
RE: Codeigniter 4 installation and img directory - by itsrahulk - 04-14-2020, 11:53 PM
RE: Codeigniter 4 installation and img directory - by John_Betong - 04-15-2020, 04:30 AM
|