تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
675 أدوات العرض

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
أغسطس 25
180
1
أغسطس 25
754
2
أغسطس 25
347
3
أغسطس 25
1100
1
أغسطس 25
635