开发者

Apache htaccess change 404 to 200?

开发者 https://www.devze.com 2023-04-11 19:00 出处:网络
I like to know if posib开发者_如何学编程le to change the 404 HTTP Status code into 200 for a specific file.

I like to know if posib开发者_如何学编程le to change the 404 HTTP Status code into 200 for a specific file.

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


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?
0

精彩评论

暂无评论...
验证码 换一张
取 消