Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
774 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ก.ย. 25
172
1
ก.ย. 25
911
1
ก.ย. 25
212
Rental Website Timezone แก้ไขแล้ว
3
ก.ย. 25
216
2
ก.ย. 25
332