Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

http redirect with http status 301 using pl sql

Farhan SiddiquiOct 21 2015 — edited Oct 21 2015

I am trying to use owa_util for http redirection, but it returns http status as 302, even when i am setting the http status as 301.

I found that the same issue was raised in following discussion and bug, but its not yet resolved.

any way to create PERMANENT (301) url redirects in pl/sql?

https://support.oracle.com/rs?type=bug&id=6512796

I am using following kind of code -


begin

owa_util.status_line(301,'',false);

owa_util.REDIRECT_URL('http://www.google.com', true);

end;


Any help will be appreciated.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 18 2015
Added on Oct 21 2015
0 comments
325 views