コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4060 ビュー

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

 

アバター
破棄
関連投稿 返信 ビュー 活動
2
7月 25
1528
1
5月 25
985
2
5月 25
1636
1
7月 24
3397
0
8月 24
341