Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
5397 Widoki

When anonymous users go to my site's homepage they must select a database and then click on the home button.

Per old instructions for the portal, I have tried putting this in my init.d script . . .

DAEMON_OPTS="-c $CONFIGFILE --db-filter=hvn"

. . . it makes no difference. The user still has to choose the database.

I also tried a URL like this . . .

www.myserver.junk:8069/?db=hvn

. . . which is an improvement. Users are taken to the login page for OpenERP for database "hvn".

Is there a setting that forces OpenERP to present all users with the web site first when they provide only the URL and port (8069) with no other parameters? After all that is the normal behaviour for any CMS, no?

Awatar
Odrzuć
Najlepsza odpowiedź

you need to modify your openerp-server.conf file located in you /etc folder.

change Dbfileter from .* to the name of your database.

Once you add this, restart openerp and it will go directly to the website. The only problem is that you will not be able to choose any other databases

Awatar
Odrzuć
Najlepsza odpowiedź

Hi, yes, but this can't be the solution. When I use a dbfilter I'm only able to work with this database. What is if I need two databases and every database has activated the website module? For example I have a test and a productive database at one and the same server. Then I can't use a dbfilter, otherwise the test or productive database isn't reachable. How is it possible to reach the website of the productive and the website of the testsystem (without using a dbfilter)?

Thanks and kind regards, Leo

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lip 25
1401
3
lip 25
8722
1
maj 25
1021
1
maj 24
2685
2
lut 24
2182