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 pagewww.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
Post a Comment