Hi All.

Is it possible to modify Ivy generated URLs ? For example. I have process user login. User Login Processes/UserLogin/userLogin.ivp when I start the process it redirects to the page: http://domain.com/ivy/faces/instances/Portal/applicaton/161544002F5E30CF/applicationcom/Login.xhtml

I would like to modify the second link. http://domain.com/ivy/faces/instances/Portal/applicaton/161544002F5E30CF/applicationcom/Login.xhtml to http://domain.com/login.

How to config ivy to make http://domain.com/login doesn't redirect to .xhtml because of the problem:

Many users will bookmark the login page but it gets directly resolved into an xhtml page which leads to problems in Ivy. Next time the user visits the bookmark the login xhtml will have issues. Sharing links will not work either because users will copy&paste the xhtml files. Thank you!

asked 01.02.2018 at 21:04

nkdinh's gravatar image

nkdinh
(suspended)
accept rate: 0%

edited 02.02.2018 at 04:21


Hi

The redirect to this instances url is fundamental in Axon.ivy and cannot be changed.

However, a solution could be to use NGNIX as a Proxy Server to Axon.ivy. In NGNIX implement some rules that rewrites the URL of /ivy/faces/instances/Portal/application/*/applicationcom/Login.xhtml to /login if for example the session cookie JSessionId is missing or if Axon.ivy returns a 4xx error when invoking the original URL.

Regards

Reto Weiss, Axon.ivy Support

link

answered 05.02.2018 at 03:54

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
4.9k202857
accept rate: 74%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4

Asked: 01.02.2018 at 21:04

Seen: 1,614 times

Last updated: 05.02.2018 at 03:54