dune73 / test-4

2 stars 4 forks source link

[Tutorial 9] Should the ProxyPassReverse line be identical to previous configuration or not? #54

Open studersi opened 6 years ago

studersi commented 6 years ago

The instruction follows a pattern similar to the variation using ProxyPass. Here however, the last part of the path has to be explicitly intercepted by using a bracket and again indicated by "$1" as we saw above. Instead of the suggested redirect flag a proxy is used here. ProxyPassReverse and the proxy stanza remain identical to the setup using ProxyPass.

In the ProxyPass setup we have:

ProxyPassReverse   /service1           http://localhost:8000/service1

In the VirtualHost context we have:

ProxyPassReverse    /                      http://localhost:8000/

Which one is correct, or are they not supposed to be identical as indicated in the description?