コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4524 ビュー

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

アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
7月 17
4737
1
11月 15
9293
0
1月 25
1232
1
2月 23
3139
1
1月 23
5336