Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
670 Представления

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 Ответы Просмотры Активность
2
авг. 25
174
1
авг. 25
750
2
авг. 25
342
3
авг. 25
1092
1
авг. 25
635