views:

595

answers:

2

Is it possible to send a HTTP response with a permanent redirect from a Stellent (now called Oracle UCM) website? We're using version 7.5.2 with iDoc script.

We can use the iDoc function setHttpHeader() to send the Location HTTP header, but how to send the HTTP response code 301, to signal the permanent redirect to the browser?

A: 

No... that function appends new HTTP headers, and the response code is set prior to that. You'll need a custom IdocScript function to get that behavior.

A: 

There is component "IdocScriptRedirect" avialable on meta link for 301 redirect. you can request oracle support to provide you download link.

sandy

related questions