Hi Azeez, Agree with that. However the precedence should be to use the HostName value in the carbon.xml which is ultimately the deployment's exposed host name, hence the constructed url in the email would be the correct access url from outside.
My argument is, this url shouldn't be kept in some other configuration file repeatedly. Thanks. On Wed, Nov 11, 2015 at 7:04 PM, Afkham Azeez <[email protected]> wrote: > This is for information purposes only. The mail says the URL we send to > the users in the email contains local host. May be you can get the IP > address/host from the incoming request and use that. > > On Wed, Nov 11, 2015 at 3:59 AM, Geeth Munasinghe <[email protected]> wrote: > >> Hi Azeez, >> >> In case of URL rewrite by LB, can we handle that by the proxy settings on >> catalina-server.xml ? >> >> Thanks >> Geeth >> >> >> >> >> >> >> *G. K. S. Munasinghe* >> *Senior Software Engineer,* >> *WSO2, Inc. http://wso2.com <http://wso2.com/> * >> *lean.enterprise.middleware.* >> >> email: [email protected] >> phone:(+94) 777911226 >> >> On Wed, Nov 11, 2015 at 2:10 PM, Afkham Azeez <[email protected]> wrote: >> >>> proxy host name >>> >>> On Wed, Nov 11, 2015 at 12:28 AM, Chamara Ariyarathne <[email protected] >>> > wrote: >>> >>>> Hi All, >>>> >>>> When a new user is added to EMM, the user will be notified with an >>>> email to subscribe a device to MDM domain. The email contains the server >>>> url to be accessed from the device. >>>> >>>> https://localhost:9443/mdm/enrollment >>>> >>>> In a usual deployment when a EMM cluster is fronted by a LB, this url >>>> should be changed to the particular gateway host of the deployment. Now a >>>> doubt arose whether to create this url by taking the value in HostName >>>> element in carbon.xml or somewhere else. >>>> >>>> So the real doubt here is what is the correct way to configure the >>>> HostName attribute in the carbon.xml in a carbon server. Is it going to be >>>> the LB host's url which the deployment is exposed with or is it some local >>>> host name internal to the deployment? >>>> >>>> -- >>>> *Chamara Ariyarathne* >>>> Associate Technical Lead - QA >>>> WSO2 Inc; http://www.wso2.com/ >>>> Mobile; *+94772786766 <%2B94772786766>* >>>> >>> >>> >>> >>> -- >>> *Afkham Azeez* >>> Director of Architecture; WSO2, Inc.; http://wso2.com >>> Member; Apache Software Foundation; http://www.apache.org/ >>> * <http://www.apache.org/>* >>> *email: **[email protected]* <[email protected]> >>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: * >>> *http://blog.afkham.org* <http://blog.afkham.org> >>> *twitter: **http://twitter.com/afkham_azeez* >>> <http://twitter.com/afkham_azeez> >>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez >>> <http://lk.linkedin.com/in/afkhamazeez>* >>> >>> *Lean . Enterprise . Middleware* >>> >> >> > > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>* > *email: **[email protected]* <[email protected]> > * cell: +94 77 3320919 <%2B94%2077%203320919>blog: * > *http://blog.afkham.org* <http://blog.afkham.org> > *twitter: **http://twitter.com/afkham_azeez* > <http://twitter.com/afkham_azeez> > *linked-in: **http://lk.linkedin.com/in/afkhamazeez > <http://lk.linkedin.com/in/afkhamazeez>* > > *Lean . Enterprise . Middleware* > -- *Chamara Ariyarathne* Associate Technical Lead - QA WSO2 Inc; http://www.wso2.com/ Mobile; *+94772786766*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
