Skip to Content
Menu
This question has been flagged
3961 Views

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
Discard
Related Posts Replies Views Activity
2
Jul 25
1243
1
May 25
773
2
May 25
1352
1
Jul 24
2965
0
Aug 24
341