Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4 Odpowiedzi
9196 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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/

Awatar
Odrzuć
Autor Najlepsza odpowiedź

 


 

Awatar
Odrzuć
Najlepsza odpowiedź

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>

 

Awatar
Odrzuć
Autor

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.

Powiązane posty Odpowiedzi Widoki Czynność
2
mar 22
11505
4
lip 21
19860
4
lis 16
3751
0
mar 15
3247
2
mar 15
6158