php - Apache is not returning 404 error for non existing URL -


here want

if entered link not exist ,then should throw 404 error page of webhost,but returning 200.

www.example.com/wrong_page.php --> should throw error 404 is throwing 200 right now.i see same page www.example.com/index.php

what might have gone wrong ? there configuration needed done in htaccess.php ? please

most have existing rewriting rule in effect, all.

something redirects requests /index.php quite common thing in web applications. such index script acts router, processing all requests. serves central entry point , simplifies define structure of implemented engine.

so should existing internal rewriting rules inside http servers host configuration or in dynamic configuration file (".htaccess").


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -