跳至內容
選單
此問題已被標幟
4 回覆
9052 瀏覽次數

I have a VPS server. And i want to install on my VPS server, openerp V7 and my website (written in PHP).
After installation, i want to send data from my website to postgresql database of openerp e.g: send username from my website to a specific table name on openerp postgresql database).
Here is my questions:

1) How i can install openerp v7 and a website (written in PHP)  on the same VPS Server?
==> i want to run the website on: www.website.com
==> i want to run openerp on: openerp.website.com

2) I want to acces the openerp database with specific url e.g.

 i don't want to have openerp.website.com:8069/?db=mydb but mydb.openerp.website.com


3) How can i comunicate my website (written in PHP) and the database of openerp ? (Should i use xmlrpc web service ?)
Actually, i have no idea of how i can do my goal. Any ideas are welcome.

頭像
捨棄
最佳答案

VPS server is one of best way to manage your website online. Everyone is aware of fact that in these fast pace of Internet it is required need to be updated. So it is important to website of your company. It is better to choose VPS hosting. Innovative Hosting Corporation is one of best medium which use to provide service of VPS server.

http://www.innovativehostingcorp.com/vps/

頭像
捨棄
作者 最佳答案

 


 

頭像
捨棄
最佳答案

Use virtual host. If you're on a Apache HTTP server:
 

<VirtualHost *:80>
   ServerName openerp.website.com  
   ServerAlias openerp.website.com www.openerp.website.com
   ProxyPass / http://localhost:8069/
   ProxyPassReverse / http://localhost:8069/
</VirtualHost>

<VirtualHost *:80>
    ServerName mywebsitewritteninphp.com
    ServerAlias mywebsitewritteninphp.com www.mywebsitewritteninphp.com
    DocumentRoot /var/www/myphpwebsite
</VirtualHost>

 

頭像
捨棄
作者

Hi Bernard Tabalon. Thank you for your answer. I will test your script and will give you the result after. Otherwise, you know how i can resolve the question 2 ? See you.

相關帖文 回覆 瀏覽次數 活動
2
3月 22
11344
4
7月 21
19581
4
11月 16
3529
0
3月 15
3147
2
3月 15
5802