Myth/Auth localhost redirected you too many times. |
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?
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-chec...ot-working worth a read
|
Welcome Guest, Not a member yet? Register Sign In |