Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

openerp 8 : how to show a database's website by URL

By
PJ Soule
on 3/5/14, 6:49 AM 3,400 views

Hello everyone,

We're making some tests on OpeneERP 8 at this moment, and I don't find how to properly show the good website for a specific database on my server. To be more clear, I have my server, with 2 databases, and each database have the website_builder module installed. We're assuming the the first is names "data1" and the second "data2".

I launch a fresh browser, with no cache, then open the URL : localhost:8069/ : I get the database selection form. I don't select any database, cause I want to find an URL which could show the good web front, so I type, for testing purpose, localhost:8069/?db=data1 : the login form is shown, with the good database selected. That's better, but still not what I want.

To try, I re-open localhost:8069/ : ok, this time, the good website is shown !

Then, to show the good frontend, I have to go to le login page, change the database, then reopen the home to have the good website shown.

Is there a way to show the good website without having to pass through the database selction/login page ?

At the end, we wil have a reverse proxy to manage to show the good website using the domain name, but the issue is still the same : I don't know hos to show the good website, using only the URL.

Thank you !

0
Salton Massally
On 3/19/14, 11:20 AM

You can force the loading of a specific database by passing --db-filter=dbname when starting the server

Yes, but the initial idea was to avoid to launch an openerp instance for every database which have a website. But we didn't find any solution, so we went this way.

Thank you for your post !

PJ Soule
on 3/28/14, 12:37 PM
0
Houssine BAKKALI
On 7/28/14, 10:52 AM

you can use the db filter with a regular expression

have a look a this https://www.odoo.com/forum/help-1/question/website-module-and-multi-db-43191

 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/5/14, 6:49 AM
Seen: 3400 times
Last updated: 3/16/15, 8:10 AM