Add this text:
Note: The last 2 lines are absolutely vital
Without those lines, you will get this kind of 403 error in Chrome when posting pages:
The "ProxyPreserveHost On" line is always needed.
The "RequestHeader unset Origin" is needed for ORDS > 3.0.2. Finding that solution took way too long... The problem is hinted at (but not solved) here
. Maybe the answer is given here
but my Russian is not good enough to say for sure...
Note: Spescha Gian Branko kindly remarked that for this configuration to work, you need to make sure that headers_module is loaded in Apache, using something like this:
When I installed all this, this module was already loaded by default in ./conf.modules.d/00-base.conf so I didn't have to do that myself. But that may depend on your specific versions, Linux distribution, etc.
More info on loading Apache modules can be found at https://nitstorm.github.io/blog/enabling-disabling-modules-sites-apache/