Hi!
I've just recently deployed my first laravel based app to my shared host, and everything seems to run smothly except the auth part (Basic auth).
In my local environment I can log in, but when I try on the host, it just returns the login prompt as if I wrote a wrong password.
I have copied the laravel database manually, and I can see the encrypted pw is the same in both local and on the host. I have also updated the database.php file in the config folder.
Can anyone point me in a direction about whats wrong here?
Thanks a lot in advance!
/Kris
Can you provide me below details :-
Hi Getio,
The environment on the host is PHP 5.5.11, Linux x86_64
On my local environment I'm running an ubuntu linux x86_64 with php 5.5.19
/Kris
Hi, I am experiencing exactly the same problem.
Regards, Esteve
Found the solution - finally!
This tells about the issue: http://codetheory.in/fixing-laravel-basic-auth-failure/
and this contains the actual code that did the trick for me: http://laravel.com/docs/4.2/security#http-basic-authentication
Hope this might help others.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community