Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4276 Vizualizări

Hi all,

I used subdomain as database name, so tried this.

my dbs:

test1, db1

so i tried this as "test1.example.com", "db1.example.com" its working very well.

but i tried "demo.example.com" (there is no db named "demo", i know), it directs to "demo.example.com/web/database/manager".

here i want show "demo.example.com" is not available insted of manage databases page. is there any way to achive this? please let me know...!

thanks in advance

Imagine profil
Abandonează
Cel mai bun răspuns

You can use  test1, db1 as database names, but you you have to set  up:

dbfilter = ^%d$

Check db_filter function to understand how it works: 

https://github.com/odoo/odoo/blob/master/openerp/http.py

 

To handle demo.example.com you can configure your web server (nginx etc.) according to your needs

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iul. 17
4430
1
nov. 15
8955
0
ian. 25
902
1
feb. 23
2846
1
ian. 23
4961