Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4924 มุมมอง

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?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ค. 24
1701
2
ก.พ. 24
1430
0
ม.ค. 24
995
0
ธ.ค. 23
737
2
พ.ค. 23
7622