Community mailing list archives

Re: Convert Port to string

- 11/02/2016 12:27:59
Antonio Mas, I have already done this, but this works only for one entreprise, it will not work for many.
Pedro M. Baeza (Tecnativa),  : I had this this idea, but it doesn't plaised me, becauce I want the name of the entreprises at the end ( as in my exemple) but  I have another Idea, is to programme some php or HTML pages withing appach and to make redirections to this entreprises as bellow:
in appach: I create a page: at www/mysite/entrepses1/index.php   and this page will make a redirection to
But at the end the port will be shown and it will not be hidden

Thank you so much

2016-11-02 16:58 GMT+01:00 Antonio Mas <>:
El 02/11/16 a las 16:17, Hacene MEZIANI escribió:
> Dear Community, > > I'd like to know if it is possible to convert a port to string for > exemple: port 8069 to string "entreprise 1", port 8070 to " entreprise2"... > I have one VPS with only one IP. and in this VPS i have installed two > instances of Odoo 10. > > - ( for entreprise1 ) > - ( for entreprise2) > > What I want to guet is: > - > - > > > Thank you. >
Hello. You can do it with a HTTP server listening on 80 and redirecting to the corresponding Odoo server. For example: Regards.

Post to: