Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
4056 Näkymät

I'm try to redirect from domain.com:8069 to domain.ro. using proxy reedirect in apache. The problem is that when using domain.com:8069 it selects the database that I;ve added in the config file and when entering domain.ro it asks for my database(it doesn't open the testdb)

Proxy config in vhost

   ProxyRequests Off
    ProxyPreserveHost On
    <Proxy *>
        AddDefaultCharset off
        Order deny,allow
        Allow from all
    </Proxy>

    SetEnv proxy-nokeepalive 1

    ProxyPass / http://127.0.0.1:8069/
    ProxyPassReverse / http://127.0.0.1:8069/

    LogLevel debug
    ProxyVia On

openerp-server.conf

[options]
; This is the password that allows database operations:
admin_passwd = password

db_host = False
db_port = False

db_user = odoo
db_password = password

db_name = testdb
list_db = False
dbfilter = testdb

addons_path = /opt/odoo/v8/addons,/opt/odoo/v8/web/addons

logfile = /var/log/openerp/openerp-server.log
log_level = error

 

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
heinäk. 25
1518
1
toukok. 25
982
2
toukok. 25
1632
1
heinäk. 24
3384
0
elok. 24
341