Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4 Risposte
9072 Visualizzazioni

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.

Avatar
Abbandona
Risposta migliore

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/

Avatar
Abbandona
Autore Risposta migliore

 


 

Avatar
Abbandona
Risposta migliore

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>

 

Avatar
Abbandona
Autore

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.

Post correlati Risposte Visualizzazioni Attività
2
mar 22
11352
4
lug 21
19599
4
nov 16
3543
0
mar 15
3151
2
mar 15
5826