Community mailing list archives

community@mail.odoo.com

Re: Convert Port to string

by
Ermin Trevisan
- 11/02/2016 12:58:19

You can use the following module: https://www.odoo.com/apps/modules/9.0/dbfilter_from_header/

This way you can "hard code" the database name in your virtual host definition for whatever URL you would like to use.

On 02.11.2016 16:16, Hacene MEZIANI wrote:
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.

- www.mysite.com:8069  ( for entreprise1 )
- www.mysite.com:8070  ( for entreprise2)

What I want to guet is: 


Thank you.

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


-- 
twanda AG
Ermin Trevisan
Artherstrasse 19
CH-6318 Walchwil 
T    +41 41 758 1515
M    +41 79 208 7373
E    trevi@twanda.com 
www.twanda.ch
www.twanda.ch/page/restaurant