How to modify the Web Application Name (KEServer) [Tomcat]

Hi all,

I post this trick if you need to modify the Web Application Name (the default is KEServer) from "KEServer" to "MyKEServer" (so the url become http://servername/MyKEServer/webvision instead of http://servername/KEServer/webvision), do the following steps:

-          Rename the \KEServer\ directory name under \Tomcat 5.5\webapps\KEServer\  to whatever you choose.

-          Likewise, you need to change the Advanced Options in the Server Details in Provision, you need to set the 'Web Application Name' to MyKEServer. 

-          You may also need to change the redirector in IIS to include these changes, or bypass IIS altogether and just use port 8080 to access, so http://servername:8080/MyKEServer/webvision

-          Rename the KEServer.xml into myKEServer.xml in the C:\Programmi\Apache Software Foundation\Tomcat 5.5\conf\Catalina\localhost folder. 

-          Open the myKEServer.xml file and rename the path into ="/myKEServer".         

 

That’s all.

Have a nice weekend!

Gabriele

Tagged:

Comments

  • Gabriele,

     

    These steps are correct - please, keep in mind to stop Tomcat BEFORE you make any changes to KEServer.xml, or to folder names. 

     

    If you do want to use IIS or Apache HTTP WebServer :

    for Apache Web Server - modify http.conf  (/conf folder) by 

       replacing all instances of KEServer with myKEServer

     i.e

              JkMount  /KEServer/* ajp13

      to be

              JkMount  /myKEServer/* ajp13

     

    etc.

    restart Apache HTTP Server

     

    For IIS:

    In /conf open uriworkermap.properties

    replace all instances of KEServer with myKEServer

    restart IIS.

     

    And on ProVision : make sure that your server repository connection details have the new name set (opening repository Detail, then click on Details, then Advanced Options, where you can replace Web Application Name from default 'KEServer' to 'myKEServer'; save the settings and refresh notebook list.

     

    Regards

     

    Teodora