We upgraded from 11g to 12c http server and trying to write Rewrite Rule in httpd.conf. It is not working. Idea is to anything/portalpublic forward requested to /cscords/portalpublic.
RewriteRule ^/portalbpublic/$ /cscords/portalpublic/ [NC]
Check if this reference helps you in getting it working : https://blog.darwin-it.nl/2017/06/ohs-url-rewrite.html
Look up the rewrite log to check what exactly is happening : https://docs.oracle.com/middleware/12213/webtier/administer-ohs/GUID-357A7F1D-F552-4CF6-B21D-0C49B3CD58EA.htm