[magnolia-user] Re: How to set a permanent redirect 301 http status in freemarker?

2017-01-11 Thread Mathias Conradt (via Magnolia Forums)
Hi Pierre, using DefaultVirtualURIMapping with "permanent:" prefix in the toURI works for me, it redirects with 301 status code now. [img]https://snag.gy/wM437X.jpg[/img] Regards, Mathias -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=7c60af4b-1330-41f9-8

[magnolia-user] Re: How to set a permanent redirect 301 http status in freemarker?

2017-01-11 Thread Mathias Conradt (via Magnolia Forums)
Hi Nils, thanks for the hint. I will look into it, however I would like to know why Magnolia would change the response code I am explicitly setting to a 302. What's the purpose of that in the first place? Regards, Mathias -- Context is everything: http://forum.magnolia-cms.com/forum/thread.h

[magnolia-user] Re: How to set a permanent redirect 301 http status in freemarker?

2017-01-11 Thread Mathias Conradt (via Magnolia Forums)
Hi Pierre, I did not find a solution yet but just coming back to this topic again today, looking further into it now. Regards, Mathias -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=7c60af4b-1330-41f9-8cb1-096f21ffa622

[magnolia-user] Re: [magnolia-user-groups] How to use sendMail in Freemarker

2017-01-11 Thread aliisa joseph (via Magnolia Forums)
Lector {LectorName} had created a new course Name:{CourseName} Category:{CourseCategory} Description: {CourseDescription} Links: {CourseLinks} Please, review this cours

[magnolia-user] Troubles with contentConnector

2017-01-11 Thread Piotr (via Magnolia Forums)
Hey there, since yesterday I have been facing the following problem: I tried to create a new content app basing on this instruction: https://documentation.magnolia-cms.com/display/DOCS/My+first+content+app#0accd964f6644ca9832df0022ffbf7f8 unfortunately, after creating the same catalog tree in my

[magnolia-user] Re: Add web proxy using the REST client module

2017-01-11 Thread Jaroslav Simak (via Magnolia Forums)
Hi, i'd suggest to implement your own ClientRequestFilter that would handle the authentication, and register it as a component in the configuration. Regards. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=e400672a-e0b8-4862-be83-f83082ef47f3 -