Hi, I am using OpenERP V7 with Ubuntu.
following the guide : https://github.com/vaab/js-oe-json to work with openERP using Jquery, I saw:
"You can force your openerp server to set these headers thanks to apache when used in proxy mode by adding these in your apache configuration:"
Header set Access-Control-Allow-Origin "*" Header set Access-Control-Allow-Methods "POST, GET, OPTIONS" Header set Access-Control-Allow-Headers "origin, content-type, accept"
To do so, does it means that I have to install an additional Apache as a reverse proxy in front of OpenERP and in this Apache add the 3 lines ?
BUT: i recommend: don't do this becouse it breaks your security of OpenERP If you want to change OpenERP start learning how to develop web modules.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/2/13, 7:22 PM|
|Seen: 2671 times|
|Last updated: 3/16/15, 8:10 AM|