skip to Main Content

Error in htaccess file when clean url of php file – Apache

When I open this page of my website it gives a 500 error: single-portfolio/3/bizdb-business-directory-data-scraping-uk- My .htaccess file: RewriteEngine on RewriteCond %{THE_REQUEST} /([^.]+).php [NC] RewriteRule ^ /%1 [NC,L,R] RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^ %{REQUEST_URI}.php [NC,L] RewriteRule ^single-portfolio/([0-9]+)/([0-9a-zA-Z_-]+)$ single-portfolio.php?id=$1&title=$2 [NC,L] Error shown…

VIEW QUESTION

Why Laravel don't show or execute new Routes? – Apache

I don't know if I'm so stupid or my laravel is broken, BUT, here it is. That's my api.php: Route::get('/airport', [AppHttpControllersAirportsController::class, 'index']); Route::post('/airports', [AppHttpControllersAirportsController::class, 'create']); Route::get('/registrator', [AppHttpControllersRegistrationController::class, 'index']); The airport and airports work great. It's add all data in db…

VIEW QUESTION
Back To Top
Search