Laut Dokumentation ist ProxyPreserveHost im 'Verzeichnis'-Kontext gültig. Dies bedeutet, dass Sie es in ein <Location>
oder ein <LocationMatch>
Tag einfügen können:
ProxyPass http://example/ <Location "/"> ProxyPreserveHost On </Location> <Location "/special/"> ProxyPreserveHost Off </Location>
Wenn Sie es bevorzugen:
<Location "/"> ProxyPass http://example/ ProxyPreserveHost On </Location> <Location "/special/"> ProxyPass http://example/ ProxyPreserveHost Off </Location>