0 Replies Latest reply on Feb 5, 2019 3:00 PM by Sławomir Wojciechowski

    Apache worker jk_mod and domain url address

    Sławomir Wojciechowski Novice


      I have configured apache web server as proxy to wildfly server via jk_mod. Next I  added public domain to apache for example:   mydomain.com.

      Jk_mod is working fine. WildFly application: myApplication  is  deployed on WildFly and working fine.  But the address  is:    mydomain.com/myApplication.


      My apache config is:

      <VirtualHost *:80>


              ServerName mydomain.com

              ServerAlias mydomain.com


              JkMount /* worker1


              ErrorLog ${APACHE_LOG_DIR}/error.log

              CustomLog ${APACHE_LOG_DIR}/access.log combined



      My problem is: how to configure apache VirtualHost or WildFly,  that the site will have addres:    mydomain.com  NOT mydomain.com/myApplication  ?


      Best regards