[jira] [Closed] (OFBIZ-10088) Website can manage hidden webapp

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-10088) Website can manage hidden webapp

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-10088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Malin closed OFBIZ-10088.
---------------------------------
       Resolution: Implemented
    Fix Version/s: Upcoming Release

commited at revision 1818494

> Website can manage hidden webapp
> --------------------------------
>
>                 Key: OFBIZ-10088
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10088
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: content, framework
>    Affects Versions: Trunk
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Minor
>             Fix For: Upcoming Release
>
>
> Improve RequestHandler.makeLink code to manage url generation with surcharge the webapp path.
> When a websiteId is present and it have a webappPatch define, use it on the link generation.
> Example of use :
> You have a httpd serveur that listen on *.mydomaine.com and define virtualHost myEcommerce.mydomaine.com and myCatalog.mydomaine.com
> myEcommerce.mydomaine.com is a reverse proxy to myEcommerce.mydomaine.com/ecommerce
> myCatalog.mydomaine.com is a reverse proxy to myEcommerce.mydomaine.com/catalog
> Natively, all works fine with some parameters on web.xml and controller.xml but each link return are setted like that myEcommerce.mydomaine.com/ecommerce, called by apache httpd to ofbiz by myEcommerce.mydomaine.com/ecommerce/ecommerce and traducted by ofbiz by ERROR ecommerce request-map not found ;)
> To solve the situation, I extended WebSite entity with attribute webappPath, init to / for websiteId ecommerce ofbiz instance and /ecommerce for other websiteId liked to other ofbiz instance (dev, back) without apache httpd with limited reverse-proxy.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)