Changing Status Line of a HTTP Response Header

Has anyone managed to find a way to change the STATUS LINE that is returned by Domino in the server’s HTTP Response Header?

Using HTTP Response Header Rules and @SetHTTPHeader allow you to modify other response header fields such as server, location, etc. - but neither provide access to the status line (the first line of the header that displays the HTTP-Version, Status-Code, and Reason-Phrase.

For example:

HTTP/1.1 200 OK <<— <<— This is the value I need to change!

Server: Lotus-Domino

Date: Wed, 17 Dec 2003 17:54:09 GMT

Content-Type: text/html

Content-Length: 15846

Last-Modified: Fri, 27 Sep 2002 21:15:31 GMT

Accept-Ranges: bytes

This is pretty easy to do on just about every other web server out there - why so impossible on Domino??

Using substitution or redirection rules are not suitable in this case, as one will return a 302 status code and the other 200 - I need the server to return a “301 (Moved Permanently)” status code.

Any guru’s out there with a fancy trick up their sleeve??

Subject: Changing Status Line of a HTTP Response Header

You might have to work with a DSAPI filter. I don’t know off the top of my head if you can change that particular bit of the response, but I would bet you could.

Subject: RE: Changing Status Line of a HTTP Response Header

Thanks for the tip - that was the direction I needed to go.

Cheers.