跳至內容
選單
此問題已被標幟
1 回覆
706 瀏覽次數

Hi all! I have multidbs and I want to load the db based on the subdomain. How do I it? I have in my conf this line but is not working. And by that I mean is not loading the db matching the subdomain.

dbfilter = ^%d$
頭像
捨棄
最佳答案
  • Hello Ricky Low,

    I Hope you are doing well,
    ​Please tried this in your conf file:
    ​dbfilter = ^%d$​
    ​​db_name = False
    ​dbfilter_from_header = True

Thanks & Regards,
Kunjan Patel

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
8月 25
293
1
8月 25
822
2
8月 25
433
3
8月 25
1209
1
8月 25
666