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

How to configure OpenERP and web server so it would work the same as it working like in openerp.com SAAS? You create database named 'test' and it can be accessed using URL like test.my.openerp.com? Now I access my databases using localhost:8079/?db=name. And I want it to be accesible as name.localhost.

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

You need to configure your server to recognise a domain - go to /etc/hosts and add a domain for localhost

อวตาร
ละทิ้ง

That's a per host name, what is asked is a per database name.

Yes, but its still calling localhost and not a domain name. If you want to configure sub-domains per database look at http://tinyurl.com/oe-multi-domain-easy-config

คำตอบที่ดีที่สุด

I would recommend using a reverse proxy with redirect. Easy enough to do with apache. Also I would recommend using SSL on the apache which can then redirect to nonSSL on the backend.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
4582
1
มี.ค. 15
6743
2
ก.ค. 25
1285
1
พ.ค. 25
805
System redirect to a wrong url แก้ไขแล้ว
1
พ.ค. 25
749