I have a dns server wind a wild card and i do have mod_rewrite.
What am I doing wrong?
Please help. Tks.
Route::group(['domain' => 'test.testing.local'], function () {
Route::get('/', function() {
return 'hello.'; //it works
});
});
Route::group(['domain' => 'igest.test.testing.local'], function () {
Route::get('/', function()
{
return 'hello.'; //it works
});
});
Route::group(['domain' => '{account}.test.testing.local'], function () {
Route::get('/', 'someController@index'); //it works
Route::get('login', 'someControllerController@create'); //404
Route::get('logout', 'someController@destroy'); //404
Route::resource('sessions', 'someController', ['only' => ['create', 'store', 'destroy']]);
});
Does this work ?
Route::group(['domain' => 'igest.test.testing.local'], function () {
Route::get('login', 'someControllerController@create');
});
mcraz said:
Does this work ?
Route::group(['domain' => 'igest.test.testing.local'], function () { Route::get('login', 'someControllerController@create'); });
nop i keep getting 404.
Do you have any idea on what is wrong?
Tks.
Well I feel stupid.
The problem was on the vhost.
Tks, back to work :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community