This question has been flagged
3859 Views

Is there a way to run OpenERP 7 web on a non-root URL?

Since there are other applications running on my host (apache hosting all of them, handling ssl) I would like OpenERP on /erp instead of /. I did specify /erp as the WSGIScriptAlias:

WSGIScriptAlias /erp /home/guenter/.../openerp-wsgi.py
WSGIDaemonProcess oe user=guenter group=guenter processes=2 python-path=/home/guenter/.../openerp-7/server display-name=apache-openerp
WSGIProcessGroup oe
WSGISocketPrefix wsgi

<Directory /home/guenter/.../>
     Order Deny,Allow
     Allow from All
</Directory>

which did get OpenERP to respond, however, the URLs generated still refer stuff like /web (instead of /erp/web):

    <link rel="shortcut icon" href="/web/static/src/img/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="/web/static/src/css/full.css" />
Avatar
Discard