What is the difference between a ProxyPass
directive:
ProxyPass / http://localhost:8080/ nocanon
ProxyPassReverse / http://localhost:8080/
And a <Proxy>
directive:
<Proxy http://localhost:8080/*>
Order deny,allow
Allow from all
</Proxy>
In Apache configuration files?
I often see these two in the same virtualhost
section, an I am not sure what is the difference.
Best Answer
With the
ProxyPass
(link) directive, you define a proxy in the first place. The<proxy ...>
(link) section can contain processing directives for the proxied content. This is something you can learn yourself by just reading the docs, hence the downvotes.