Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4927 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 25
133
1
thg 5 24
1716
2
thg 2 24
1449
0
thg 1 24
1002
0
thg 12 23
742