CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi everybody, I have --dbfilter set to %h$ which works fine only when i access mydomain.com without www but when i access using www.mydomain.com i get redirected to the database manager.
Is there any way i can filter my databases using my domain with and without www?
^%h$ takes the complete domain and therefore Odoo tries to match the database name "www-domain-com", which it could not find. If you use ^%d$ instead, it tries to find the database name of the subdomain except of "www". If there is no other subdomain than "www", it matches the domain name. Examples with ^%d$:
- www.domain.tld: database "domain"
- subdomain.domain.tld: database "subdomain"
Thanks for your response. I actually have it set to %h$ but if i set it to ^%h$ or ^%d$ i get the website only without www, but it won't let me access the backend because for domain1.tld/web it shows the database manager as well as for the other domains23.tld/web . Is there a way to resolve this issue maybe using apache or any other approach?
About This Community
Odoo Training Center
|Asked: 7/30/16, 6:07 PM|
|Seen: 335 times|
|Last updated: 8/9/16, 10:46 PM|