[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=30502#action_30502
 ] 

Tobias Mattsson commented on MAGNOLIA-3329:
-------------------------------------------

I'm not an expert on apache configurations but i believe that you can configure 
rewriting of redirects using mod_proxy and setting ProxyPassReverse. Though 
this assumes that you're using apache.

Btw, you don't have to add the context path yourself, use
mav = new ModelAndView(new RedirectView(handle + ".html", true));
or even shorter:
mav = new ModelAndView("redirect:" + handle + ".html");

> Redirect Problems
> -----------------
>
>                 Key: MAGNOLIA-3329
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3329
>             Project: Magnolia
>          Issue Type: Bug
>    Affects Versions: 4.3.7
>            Reporter: Jan Christian Haddorp
>            Assignee: Boris Kraft
>         Attachments: server.xml
>
>
> I'm not sure if it's an error - it's more a support question
> Beside the Admin Central our application does redirects. We us Blossom... So, 
> a redirect looks like the following.
> mav = new ModelAndView(new RedirectView(contextPath + handle + ".html"));
> The site is completely HTTPS. However the redirect is built as HTTP.
> The SSL cert is installed on the Webserver; not on the Tomcat - that is used 
> as application server. I've attached the Tomcat server.xml. Do you see any 
> misconfiguration that might cause this issue? It there anything we can 
> configure within Magnolia?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to