Myth/Auth localhost redirected you too many times. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Addins (https://forum.codeigniter.com/forumdisplay.php?fid=34) +--- Thread: Myth/Auth localhost redirected you too many times. (/showthread.php?tid=80712) |
Myth/Auth localhost redirected you too many times. - othsout - 12-07-2021 Please guide me when I address the url to http://localhost/ci4apps/public it's give me redirect to many times error. But it is going normail if I use php spark serve. Any clue why this is happen? RE: Myth/Auth localhost redirected you too many times. - captain-sensible - 12-07-2021 yep, spark is at the root of your web app and when fired up tells you the url to use and is set up to serve from public; whereas if you have your web app in say Apache , you have to configure for yourself via virtual host things like url that will serve up your particular web app , also virtual host setting to point to public like Code: <VirtualHost 127.0.0.5:80> never needed to touch .htaccess neither local nor live by the way - i have a few o mine at : /srv/http ( arch linux ) So start by going through the basics, write enabling writable (recursive ) enable logging to max the force is fairly strong in me today ; but without actual error output difficult to know .. Docs and https://includebeer.com/en/blog/the-checklist-of-things-to-check-when-your-codeigniter-4-web-application-is-not-working worth a read RE: Myth/Auth localhost redirected you too many times. - UnKimong11 - 05-27-2022 how to cek if i use xampp in windows? |