3

How to set URL Rewrite (like mod_Rewrite in Apache) with Tomcat (8.x, 9.x - which supports rewrite natively ) and ORDS and Oracle Apex (with no Apache in front)?

Olafur Tryggvason
  • 4,761
  • 24
  • 30

1 Answers1

1

Background : Assumed already installed :

  • Oracle application express ( Apex 5.x in my case).
  • Tomcat 9 (applicable for tomcat 8 as well).
  • Ords (3.x in my case)
  • Configuration described with with no Apache in front of Tomcat.

Installation (written out of my head) :

  1. Go to : /usr/share/tomcat9/apache-tomcat-9.0.0.M4/webapps/ords/WEB-INF (according to your pathes)

  2. Go to : /usr/share/tomcat9/apache-tomcat-9.0.0.M4/webapps/ords/META-INF (according to your pathes)

  3. stop and start your tomcat

    • /usr/share/tomcat9/apache-tomcat-9.0.0.M4/sbin/shutdown.sh
    • /usr/share/tomcat9/apache-tomcat-9.0.0.M4/bin/startup.sh
  4. Test it : http://yourdomain:port/ords , should lead you to : http://www.companyname3.com/