[
https://issues.apache.org/jira/browse/OFBIZ-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacopo Cappellato closed OFBIZ-2107.
------------------------------------
Resolution: Won't Fix
> run many websites from one webapplication/dynamically add websites to ofbiz
> ---------------------------------------------------------------------------
>
> Key: OFBIZ-2107
> URL:
https://issues.apache.org/jira/browse/OFBIZ-2107> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Environment: any
> Reporter: Hans Bakker
> Assignee: Hans Bakker
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: getWebSiteId.patch
>
>
> I was always wondering why the 'webSiteId' is hardcoded in the web.xml.
> If a request comes in, the domainname and port is normally known and depending on this information the websiteId can be found in the website entity.
> If this would be implemented a new website can be dynamically configured and many websites can be run from the same webapplication within a component and no configuration and/or restart is required to make the website active with ofbiz.
> Am i overlooking something or is there a reason that the websiteId is harcoded in web.xml?
--
This message was sent by Atlassian JIRA
(v6.2#6252)