Returning required apache error statuses with mod_plsql
Hi,
We are using Oracle Application Server 11g and are developing web applications using the pl/sql web toolkit via mod_plsql.
We've found a situation where we want to return an apache 410 error code to the client so we used the following code in our package:
OWA_UTIL.status_line (410, '', FALSE);
to set the 410 error code in the http header and return only that to the client requesting the page.
What we've found though is that the 410 code is being translated to a 404 error at some point in the process.
It doesn't do this for all statuses, if I set the value to 401 or 503 for example those codes are returned to the client correctly, it only seems to be affecting certain status codes.
I've looked in the httpd.conf file and set up a specific ErrorDocument entry for the 410 code but this didn't make any difference. Can anybody think of a reason why the error 410 is being changed to a 404 error?
Thanks,
Jonathan