There is a task to proxy the connection from http://centerix.ru/wiki/ to http://wiki.centerix.ru/ . Apache stands at centerix.ru, StormServer is on the second.
The task was solved through the settings of the Apache ProxyRequests On and ProxyPass / wiki / http://wiki.centerix.ru/wiki/ .
But another problem arose: Apache sends X-Forwarded-For: 1.2.3.4, X-Forwarded-Host: centerix.ru, X-Forwarded-Server: centerix.ru to the storm. How is the test implemented, after which these headers can be trusted? How to configure Apache if proxying will go in the opposite direction?
It also raises the issue of data security. If we assume that both are Apache servers, then is it possible to create self-signed ssl certificates for them and how so that all communication between servers goes via https protocol?
In principle, I need to understand what options Apache is configured with, after which I can implement similar options on my server.
http://centerix.ru/wiki/somepagereturn the 302nd code and addresshttp://wiki.centerix.ru/wiki/somepageto the client, which he should address. - aleksandr barakin