Try changing your .htaccess file to the following:
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
RewriteBase /
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
Sorry, the page you are looking for could not be found.
1/1 NotFoundHttpException in compiled.php line 7693: in compiled.php line 7693 at RouteCollection->match(object(Request)) in compiled.php line 6965 at Router->findRoute(object(Request)) in compiled.php line 6937 at Router->dispatchToRoute(object(Request)) in compiled.php line 6929 at Router->dispatch(object(Request)) in compiled.php line 1935 at Kernel->Illuminate\Foundation\Http{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 8952 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 2438 at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 17 at VerifyCsrfToken->handle(object(Request), object(Closure)) in compiled.php line 8944 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 12083 at ShareErrorsFromSession->handle(object(Request), object(Closure)) in compiled.php line 8944 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 10785 at StartSession->handle(object(Request), object(Closure)) in compiled.php line 8944 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 11789 at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in compiled.php line 8944 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 11738 at EncryptCookies->handle(object(Request), object(Closure)) in compiled.php line 8944 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 2478 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in compiled.php line 8944 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 8935 at Pipeline->then(object(Closure)) in compiled.php line 1891 at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 1880 at Kernel->handle(object(Request)) in index.php line 53
actually if i type in adress bar index.php/<my_route> everythink works just perfectly
Possibly your Virtual Host definition lacks the AllowOverride all statement
Best regards, Werner
i have 2 projects with laravel installed on the same server one of them works perfectly another one doesn't want :D i have no idea why :D
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community