Please consider registering

sp_LogInOut Log In sp_Registration Sign up

Sign up | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
Tipp: Using Apache's mod_rewrite for simpifying Maximo URL (Direct Link to Tickets)
have you ever sent someone information related to a Ticket and wanted to provide him a direct link to open the Ticket?
May 15, 2017
5:23 am
Forum Posts: 7
Member Since:
August 7, 2013
sp_UserOfflineSmall Offline

I’m writing this because I find it a very simple but useful solution to be able to provide very short links to other people with the possibility to open the ticket directly.

Following use-cases are possible with the provided example:

http(s)://yoururl.com/inc/123456  => opens INCIDENT with TicketID 123456
http(s)://yoururl.com/incident/123456  => opens INCIDENT with TicketID 123456
http(s)://yoururl.com/sr/123456  => opens SR with TicketID 123456
http(s)://yoururl.com/problem/123456  => opens PROBLEM with TicketID 123456
http(s)://yoururl.com/prb/123456  => opens PROBLEM with TicketID 123456
http(s)://yoururl.com/sol/123456  => opens SOLUTION 123456
http(s)://yoururl.com/solution/123456  => opens SOLUTION 123456


Prereq: Apache HTTP Server / IBM HTTP Server (part of WebSphere Application Server)

1. open HTTP config (httpd.conf – best via WebSphere Console)

2. edit HTTP config –> uncomment (remove #) following line:
LoadModule rewrite_module modules/mod_rewrite.so

3. add following lines in HTTP config

# Rewrite Engine - enables the use of a simple link for tickets
RewriteEngine On
RewriteLog logs/rewrite.log
RewriteLogLevel 0
RewriteRule /(sr|incident|problem)/([0-9]+)$ /maximo/ui/maximo.jsp?event=loadapp&value=$1&additionalevent=useqbe&additionaleventvalue=TICKETID=$2 [NC,PT]
RewriteRule /(sol|solution)/([0-9]+)$ /maximo/ui/maximo.jsp?event=loadapp&value=solution&additionalevent=useqbe&additionaleventvalue=solution=$2 [NC,PT]
RewriteRule /(sr|incident|problem)/([0-9]+)$ /maximo/ui/maximo.jsp?event=loadapp&value=$1&additionalevent=useqbe&additionaleventvalue=TICKETID=$2 [NC,PT]
RewriteRule /(inc)/([0-9]+)$ /maximo/ui/maximo.jsp?event=loadapp&value=INCIDENT&additionalevent=useqbe&additionaleventvalue=TICKETID=$2 [NC,PT]
RewriteRule /(prb)/([0-9]+)$ /maximo/ui/maximo.jsp?event=loadapp&value=PROBLEM&additionalevent=useqbe&additionaleventvalue=TICKETID=$2 [NC,PT]

4. restart HTTP Server

May 16, 2017
11:17 am
sun kim
Forum Posts: 60
Member Since:
June 2, 2014
sp_UserOfflineSmall Offline

If you make this an IBM RFE (Request for Enhancement), I’d vote for it. Definitely would make things easier if it was just domain/module/idnum format: maximo.com/wotrack/12345

June 13, 2017
10:34 am
Stoneham, MA USA
Forum Posts: 1118
Member Since:
March 2, 2009
sp_UserOfflineSmall Offline

Hello, Please register to see the Admin’s answer!

Forum Timezone: America/New_York

Most Users Ever Online: 54

Currently Online:
1 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

sun kim: 60

madd0g17: 59

v.barsamov: 51

cgregory: 45

Maximofresher: 45

matta0990: 33

Member Stats:

Guest Posters: 0

Members: 14173

Moderators: 0

Admins: 3

Forum Stats:

Groups: 1

Forums: 8

Topics: 1570

Posts: 4284

Newest Members:

toto prasodjo, Jason Kingdon, anuja dhanekula, Vikas Yadav, jack tie, Oleksandr K

Administrators: Chon: 1118, kristensibilia: 0, Joe Grassia: 0