Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4034 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvc 25
1515
1
kvě 25
977
2
kvě 25
1627
1
čvc 24
3362
0
srp 24
341