lucy24 - 10:01 pm on Apr 30, 2013 (gmt 0)
need help with .htaccess
Snappy reply: Don't we all :)
Now then... Your question was a bit fuzzy, so I'm going to guess about what's happening.
returns a 200 header code
Do you mean
#1 the server sends out a 200
#2 the recipient gets a 200
Most of the time they are the same. But if the process involves sending a request to a preliminary file which then returns a header, your server will always show a 200. The obvious example is a php page which has to process some parameters before showing any content. If the parameters are bad, the resulting 404 or 403 comes from the php, not the server.
This in turn means the user won't get an error page, because the server does not know there has been an error. So you need to include the content of your error page. Do not redirect; show the content of the page at the originally requested URL.