Change Maximo base web address

In some cases you need to be able to web address of Maximo to identify between different environments or systems. For example for the test system you want to change the base URL from the default address:

  • http://mxhost/maximo/

to:

  • http://mxhost/maximotest/

In WebSphere application server this part of the web address is called ‘context root’. It can be changed using WebSphere admin console under Applications > Enterprise Applications > MAXIMO > Context Root For Web Modules.

You can change this setting from WAS console but every time you will redeploy maximo.ear file it will be reset to the default value. To automate this procedure you can set the correct value in the following files.

  • [SMPDIR]\maximo\applications\maximo\META-INF\application.xml
  • [SMPDIR]\maximo\applications\maximo\META-INF\deployment-application.xml

Rebuild and deploy the maximo EAR file and check that everything is working fine.

Change Maximo base web address

2 thoughts on “Change Maximo base web address

  1. Bruno, here is a description how you can make your base web address to http://hostname/ instead of http://hostname/maximo using IBM HTTP server configuration, without restarting Maximo/SCCD.
    Open the WAS console–>Servers–>WebServers –>webserver1 . Click the Edit button next to the httpd.conf file to edit the configuration file of the webserver.
    Remove # in the line: LoadModule rewrite_module modules/mod_rewrite.mod
    With removing # you enable this rewrite module.
    Add the following at the end of the file config file:

    RewriteEngine On
    RewriteCond %{SERVER_PORT} ^80$
    RewriteRule ^/$ /maximo/ [R=301,L]

    Generate plugin, Propagete plugin and restart webserver.
    Try now the address: http://hostname/ , and your Maximo SCCD login screen will welcome you.

Leave a Reply to Tamas Kubicsek Cancel reply

Your email address will not be published. Required fields are marked *

Scroll to top