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

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
سبتمبر 25
896
1
سبتمبر 25
190
3
سبتمبر 25
200
2
سبتمبر 25
312
2
أغسطس 25
688