Submitted by kpturner on Mon, 06/27/2011 - 00:00
Forums

Hi Niels,

One of our customers are running with the new version and it seems to be working fine which is good. I have a question though: Is it possible to get Icebreak to recognise programs in the URL using a .pgm suffix rather than a .rpgle? Renaissance is currently handling the difference, but it would be very helpful if we could make the URLs identical for both Apache and Icebreak.

Doing this will help us swap out Apache and swap in Icebreak without having to tell the customer that they need to go to http://blah/xr0000.rpgle rather than http://blah/xr0000.pgm 

We do have an index/splash page that does this for them, but I have discovered that most of their people have bookmarked the login page explicitly rather than the splash page. If we have to tell them all to change their bookmarks it is one more thing that can/will go wrong when we migrate them.

Thanks,

Kevin

Niels Liisberg

Mon, 06/27/2011 - 00:00

Hi Kevin;
 
This is quite simple to do. It is controlled by the MIME suffix for a file. So you just open the MIME option and let it call apps for the .pgm sufix.
 
  1. GO ICEBREAK
  2. Option 62 – ADDICEMIME
  3. Which prompts the command:
  4. ADDICEMIME SUFFIX(PGM) MIMETYPE('text/html') PGMCALL(*PGM)
  5. Recycle the icebreak subsystem to reload the mime types
  6. You are golden: IceBreak will now call the RPG program and set the default content type to "text/html"

Best regards

Niels Liisberg