I am trying to apply settings in Apache for my Odoo 8 environment to achieve:
- force http for POS interface (for using PosBox - PosBox does not work with https)
- force https for everything else
I can do this by mod_rewrite (e.g. "RewriteCond %{REQUEST_URI} ^/pos") except that the POS session just goes blank with an error in the log that says "Function declared as capable of handling request of type 'json' but called with a request of type 'http'".
It seems JSON message is not passing through. How can I get rid of this problem?
This problem does not happen when you apply http for everything or https for everything, so I am guessing I need to tweak something in Apache settings, but I do not know how. Any sample from handling the same requirement would help.