KodeFor.Me
KodeFor.Me

Reputation: 13521

Apache htaccess change 404 to 200?

I like to know if posible to change the 404 HTTP Status code into 200 for a specific file.

If that posible how can I do it ? Thanks ! :)

Upvotes: 0

Views: 731

Answers (1)

Paktas
Paktas

Reputation: 318

You need to be more specific about your need:

  • Does the file exist in filesystem? HTTP response status for regular file is 200 by default.
  • If the file exists - why are you getting 404s now? Are you using some sort of mod-rewrite rules?

Upvotes: 1

Related Questions