How to Redirect URLs in OHS

Oracle HTTP Server (OHS) can be used to redirect users to a new site when a particular URL is specified. This is useful if you would like to have users go to a new domain or website if they still would like to access an old URL. A RewriteRule can be written in httpd.conf (for HTTP) and/or ssl.conf (for HTTPS) to perform this. This can be implemented in both 11g and 12c. The following steps are written for 12c, but they can also be used for 11g to redirect traffic from the starting OHS page (http://server.domain:<ohs_port>) to another page.

What you’ll learn in this article:

Step-by-step instructions on how to redirect URLS in Oracle HTTP Server

Fill out this form to get immediate access to the article.

Get Our Newsletter