I figured out most of the issues. The system works as expected now. The
setup for *host A* should be:
ServerName mydomain.com
ProxyPreserveHost On
RewriteEngine On
ProxyPass “/host1/“ "http://192.168.4.12/"; retry=0
RewriteCond %{HTTP_REFERER} “host1” [NC]
RewriteRule "^/index(.*)" “/host1/index
On 4 Oct 2022, at 22:03, Frank Gingras wrote:
A few comments first:
1) Try to avoid proxying inside a block, unless you have a
good
reason to. You have more control in the vhost context over the URI
paths.
Thanks for your comments. There are few reasons that I used :
- I wanted to have two
A few comments first:
1) Try to avoid proxying inside a block, unless you have a good
reason to. You have more control in the vhost context over the URI paths.
2) Stop using the 2.2 authz directives, those have been deprecated for over
a decade
Now, your ProxyPassReverse is effectively:
ProxyPa