Hi Isaias, thanks for your help.
What we made: We removed the "FOR=myweglab.weg.net:*" from the profile and now the redirect is running fine. I mean that you don't need the logs with trace level 3.
Now the rule is:
icm/HTTP/redirect_0 = PREFIX=/, FROM=*, FROMPROT=http, PROT=https, PORT=443, HOST=myweglab.weg.net
Now when I type http://mywebsite.domain:80/irj it redirect to https://mywebsite.domain/irj/portal.
I think that this problem is solved an if you have any question, feel free to do it.
Thanks a lot for helping us with this big issue.
Marcos