Changing Status Line of a HTTP Response Header to 410

I went into this thinking it was a 30 second thing; 3 hours later, I’m still stumped.

I’m looking at a web site rule for HTTP response headers, and for pages of a certain pattern that generate an http response of 500, I actually want the response to be 410 – those pages dead and they ain’t comin’ back.

I just cannot find what to put in for the name of the custom response header. Value is easy, 410. But name? No info anywhere.

I’ve run into a few suggestions that writing a custom dsapi filter in C might do it, but this was meant to be just a 30 second thing lol.

How do I do this any ideas?

Subject: Changing Status Line of a HTTP Response Header to 410

I think I just figured it out. Anyway this is what I’m going to try:

for name, I am putting Status-Code ; for value 410.

for good measure, I’m trying adding a second custom one as well:

Name: Status-Line ; value: 410 Gone

Subject: Changing Status Line of a HTTP Response Header to 410

Permanent redirections should be 301’s: http://www-10.lotus.com/ldd/dominowiki.nsf/dx/Domino_301_redirect_for_site.com-www.site.com_improve_your_search_ranking

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

Yep I agree, permanent redirections should be 301.

The topic, however, is 410 code. There’s no redirection, the page didn’t move anywhere, it’s dead, gone, dead, dead, dead, and ain’t coming back nowhere.

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

I’ve done some testing with site rules, but my server keeps giving me a 404, not a 410 as I’ve specified for a specific url that doesn’t exist.

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

Yeah. It appears that it is not possible on domino servers to issue a 410 response header.