Closed AdeSupriyadi closed 1 month ago
The following error comes from Apache, not CI. So there is something wrong with your Apache configuration.
Not Found The requested URL was not found on this server.
/
.Is httpd-vhosts.php
included?
Check error logs of Apache.
yes it is included.
No error in apache error.log that indicate about this vhosts (ci3-public.devel)
Do you see the access log with code 404 in the access log file?
Try to access to ci3-public.devel/index.php/welcome/index
.
ci3-public.devel/index.php/welcome/index
yes now its works with index.php
how to remove index.php
See https://codeigniter.com/userguide3/general/urls.html#removing-the-index-php-file
This repository is just an installer, and this issue is not an issue of this installer. Please go to the CI forum to get support. https://forum.codeigniter.com/
Also, CI3 is no longer maintained and I strongly recommend to upgrade to the latest v4.5.x or other frameworks. https://www.codeigniter.com/user_guide/installation/upgrade_4xx.html
OK, thanks, Its works
For some reason I can't upgrade my code from CI3 to CI4, I need restructure the folder with public folder. And it repo according to my needs.
setup on local environment
create virtualhost (ci3-public.devel) its working when we open on browser
ci3-public.devel
but when we openci3-public.devel/welcome/index
its can open, its showNot Found The requested URL was not found on this server.
how to resolve it?
httpd-vhosts.php
hosts