Hi,
I have an issue since several weeks now and I can't find any solution on Internet.
Let's say I am trying to access the local address http://laraveltest.dev/some_address protected by a filter:
Route::filter('auth', function()
{
if (Auth::guest()) return Redirect::guest('login');
});
I am redirected to the login page. After login, I am supposed to be redirected to http://laraveltest.dev/some_address with this piece of code:
if(Auth::attempt(array('email' => $email, 'password' => $password)))
{
return Redirect::intended('/')->with('message', 'Thanks for signing in');
}
Instead of being redirected to http://laraveltest.dev/some_address, I am being redirected to **http://laraveltest.dev/**http://laraveltest.dev/some_address and I have the error message You don't have permission to access **/**http://laraveltest.dev/some_address on this server.
Is there a problem with my configuration or am I doing something wrong ?
Thank You
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community